X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FBase%2FDijkstraBase.h;h=b5f214fe2a23d0c1c3e3b0499804235d8e8c6052;hb=c9542e420b94b0bfc1f285599f7816eab1191519;hp=4f08eb94bf94a9ab1ae95c3b6d214c43c6cc1fcf;hpb=5bf766068f54d061d3816f4950a076c3cf3a4d8b;p=FrontAlgorithms.git diff --git a/lib/fpa/Base/DijkstraBase.h b/lib/fpa/Base/DijkstraBase.h index 4f08eb9..b5f214f 100644 --- a/lib/fpa/Base/DijkstraBase.h +++ b/lib/fpa/Base/DijkstraBase.h @@ -7,8 +7,8 @@ #define __fpa__Base__DijkstraBase__h__ #include - #include +#include #include namespace fpa @@ -27,11 +27,16 @@ namespace fpa typedef itk::SmartPointer< Self > Pointer; typedef itk::SmartPointer< const Self > ConstPointer; - typedef typename _TAlgorithm::TNode TNode; - typedef typename _TAlgorithm::TNodes TNodes; - typedef typename _TAlgorithm::TInputValue TInputValue; - typedef typename _TAlgorithm::TOutputValue TOutputValue; - typedef typename _TAlgorithm::TVertex TVertex; + typedef typename _TAlgorithm::TTraits TTraits; + fpa_Base_TraitTypes( typename TTraits ); + + /* TODO + typedef typename _TAlgorithm::TNode TNode; + typedef typename _TAlgorithm::TNodes TNodes; + typedef typename _TAlgorithm::TInputValue TInputValue; + typedef typename _TAlgorithm::TOutputValue TOutputValue; + typedef typename _TAlgorithm::TVertex TVertex; + */ typedef std::vector< TNode > TQueue; struct TQueueOrder