// -------------------------------------------------------------------------
template< class _TAlgorithm >
-typename fpa::Base::DijkstraBase< _TAlgorithm >::
-TOutputValue fpa::Base::DijkstraBase< _TAlgorithm >::
-_ComputeOutputValue( const TNode& n )
+void fpa::Base::DijkstraBase< _TAlgorithm >::
+_ComputeOutputValue( TNode& n )
{
TOutputValue c = this->m_WeightFunction->Evaluate( n.Vertex, n.Parent );
- return( c + this->_GetOutputValue( n.Parent ) );
+ n.Value = c + this->_GetOutputValue( n.Parent );
}
// -------------------------------------------------------------------------