]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Base/Algorithm.h
...
[FrontAlgorithms.git] / lib / fpa / Base / Algorithm.h
index e5b6f2b0285951b5949a878b1746135e9855dd42..5a02d6ebc2e0843a0e6d0bdb1132983c3c22a173 100644 (file)
@@ -35,6 +35,7 @@ namespace fpa
       typedef typename _TSeedsInterface::TInputValue  TInputValue;
       typedef typename _TSeedsInterface::TOutputValue TOutputValue;
       typedef typename _TSeedsInterface::TNode        TNode;
+      typedef typename _TSeedsInterface::TNodes       TNodes;
       typedef typename _TSeedsInterface::TSeeds       TSeeds;
       typedef typename _TSeedsInterface::TVertex      TVertex;
 
@@ -89,6 +90,7 @@ namespace fpa
       virtual void GenerateData( ) override;
       virtual void _BeforeGenerateData( );
       virtual void _AfterGenerateData( );
+      virtual void _FinishOneLoop( );
 
       virtual void _QueueInit( );
 
@@ -97,8 +99,8 @@ namespace fpa
       virtual TInputValue _GetInputValue( const TVertex& v ) const = 0;
       virtual TOutputValue _GetOutputValue( const TVertex& v ) const = 0;
 
-      virtual TOutputValue _ComputeOutputValue( const TNode& n ) = 0;
-      virtual void _UpdateOutputValue( const TNode& n ) = 0;
+      virtual void _ComputeOutputValue( TNode& n ) = 0;
+      virtual void _UpdateOutputValue( TNode& n ) = 0;
       virtual void _QueueClear( ) = 0;
       virtual void _QueuePush( const TNode& node ) = 0;
       virtual unsigned long _QueueSize( ) const = 0;