#ifndef __fpa__Base__Dijkstra__h__ #define __fpa__Base__Dijkstra__h__ #include namespace fpa { namespace Base { /** */ template< class _TSuperclass, class _TMST > class Dijkstra : public fpa::Base::PriorityQueueAlgorithm< _TSuperclass > { public: typedef Dijkstra Self; typedef fpa::Base::PriorityQueueAlgorithm< _TSuperclass > Superclass; typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; typedef _TMST TMST; typedef typename Superclass::TOutput TOutput; typedef typename Superclass::TVertex TVertex; protected: typedef typename Superclass::_TQueueNode _TQueueNode; public: itkTypeMacro( Dijkstra, Algorithm ); public: _TMST* GetMinimumSpanningTree( ); const _TMST* GetMinimumSpanningTree( ) const; protected: Dijkstra( ); virtual ~Dijkstra( ); virtual void _AfterGenerateData( ) override; virtual void _UpdateResult( const _TQueueNode& n ) override; virtual bool _UpdateValue( _TQueueNode& v, const _TQueueNode& p ) override; private: // Purposely not defined Dijkstra( const Self& other ); Self& operator=( const Self& other ); protected: unsigned long m_MSTIndex; }; } // ecapseman } // ecapseman #ifndef ITK_MANUAL_INSTANTIATION # include #endif // ITK_MANUAL_INSTANTIATION #endif // __fpa__Base__Dijkstra__h__ // eof - $RCSfile$