Skip to content
Snippets Groups Projects
Commit 605c13f7 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : file SOMWithMissingValue.txx

parent 7cf349dd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment