- if( this->_HasEdge( v, p ) )
- {
- TResult c = this->m_CostFunction->Evaluate( v, p );
- if( this->m_ConversionFunction.IsNotNull( ) )
- c = this->m_ConversionFunction->Evaluate( c );
- return( c );
- }
- else
- return( std::numeric_limits< TResult >::max( ) );