1 // =========================================================================
2 // @author Leonardo Florez Valencia
3 // @email florez-l@javeriana.edu.co
4 // =========================================================================
6 #ifndef __fpa__Base__Dijkstra__h__
7 #define __fpa__Base__Dijkstra__h__
9 #include <fpa/Base/DijkstraBase.h>
17 template< class _TAlgorithm, class _TMST >
19 : public fpa::Base::DijkstraBase< _TAlgorithm >
22 typedef Dijkstra Self;
23 typedef fpa::Base::DijkstraBase< _TAlgorithm > Superclass;
24 typedef itk::SmartPointer< Self > Pointer;
25 typedef itk::SmartPointer< const Self > ConstPointer;
29 typedef typename Superclass::TNode TNode;
30 typedef typename Superclass::TNodes TNodes;
31 typedef typename Superclass::TInputValue TInputValue;
32 typedef typename Superclass::TOutputValue TOutputValue;
33 typedef typename Superclass::TFrontId TFrontId;
34 typedef typename Superclass::TVertex TVertex;
35 typedef typename Superclass::TSeeds TSeeds;
37 typedef typename Superclass::TQueue TQueue;
38 typedef typename Superclass::TQueueOrder TQueueOrder;
39 typedef typename Superclass::TWeightFunction TWeightFunction;
42 TMST* GetMinimumSpanningTree( );
43 const TMST* GetMinimumSpanningTree( ) const;
49 virtual void _AfterGenerateData( ) override;
50 virtual void _UpdateOutputValue( TNode& n ) override;
53 // Purposely not implemented.
54 Dijkstra( const Self& other );
55 Self& operator=( const Self& other );
58 unsigned int m_MSTIdx;
65 #ifndef ITK_MANUAL_INSTANTIATION
66 # include <fpa/Base/Dijkstra.hxx>
67 #endif // ITK_MANUAL_INSTANTIATION
69 #endif // __fpa__Base__Dijkstra__h__