Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
605c13f7
Commit
605c13f7
authored
14 years ago
by
Cyrille Valladeau
Browse files
Options
Downloads
Patches
Plain Diff
ENH : file SOMWithMissingValue.txx
parent
7cf349dd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Learning/otbSOMWithMissingValue.h
+4
-6
4 additions, 6 deletions
Code/Learning/otbSOMWithMissingValue.h
Code/Learning/otbSOMWithMissingValue.txx
+25
-0
25 additions, 0 deletions
Code/Learning/otbSOMWithMissingValue.txx
with
29 additions
and
6 deletions
Code/Learning/otbSOMWithMissingValue.h
+
4
−
6
View file @
605c13f7
...
...
@@ -75,9 +75,9 @@ public:
protected:
/** Constructor */
SOMWithMissingValue
()
{}
SOMWithMissingValue
()
;
/** Destructor */
virtual
~
SOMWithMissingValue
()
{}
virtual
~
SOMWithMissingValue
()
;
/** Output information redefinition */
virtual
void
GenerateOutputInformation
()
{
...
...
@@ -104,10 +104,8 @@ protected:
Superclass
::
Step
(
currentIteration
);
}
/** PrintSelf method */
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
{
Superclass
::
PrintSelf
(
os
,
indent
);
}
void
PrintSelf
(
std
::
ostream
&
os
,
itk
::
Indent
indent
)
const
;
private
:
SOMWithMissingValue
(
const
Self
&
);
// purposely not implemented
...
...
This diff is collapsed.
Click to expand it.
Code/Learning/otbSOMWithMissingValue.txx
+
25
−
0
View file @
605c13f7
...
...
@@ -32,6 +32,20 @@
namespace otb
{
template <class TListSample, class TMap,
class TSOMLearningBehaviorFunctor,
class TSOMNeighborhoodBehaviorFunctor>
SOMWithMissingValue <TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor>
::SOMWithMissingValue(void)
{}
template <class TListSample, class TMap,
class TSOMLearningBehaviorFunctor,
class TSOMNeighborhoodBehaviorFunctor>
SOMWithMissingValue <TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor>
::~SOMWithMissingValue(void)
{}
/**
* Update the output map with a new sample by including the case when some
* components of this new sample may be missing.
...
...
@@ -103,6 +117,17 @@ SOMWithMissingValue<TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighbor
}
}
template <class TListSample, class TMap,
class TSOMLearningBehaviorFunctor,
class TSOMNeighborhoodBehaviorFunctor>
void
SOMWithMissingValue<TListSample, TMap, TSOMLearningBehaviorFunctor, TSOMNeighborhoodBehaviorFunctor>
::PrintSelf(std::ostream& os, itk::Indent indent) const
{
Superclass::PrintSelf(os, indent);
} // end PrintSelf
} // end iof namespace otb
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment