fix check for invalid phantom nodes (20 failed left)
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
RawRouteData & raw_route_data
|
||||
) {
|
||||
SimpleLogger().Write(logDEBUG) << "alt path routing";
|
||||
if( //phantom_node_pair.AtLeastOnePhantomNodeIsUINTMAX() ||
|
||||
if( //phantom_node_pair.AtLeastOnePhantomNodeIsInvalid() ||
|
||||
phantom_node_pair.PhantomNodesHaveEqualLocation()
|
||||
) {
|
||||
// raw_route_data.lengthOfShortestPath = INVALID_EDGE_WEIGHT;
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
const PhantomNodes & phantom_node_pair,
|
||||
phantom_nodes_vector
|
||||
){
|
||||
if( phantom_node_pair.AtLeastOnePhantomNodeIsUINTMAX() ) {
|
||||
if( phantom_node_pair.AtLeastOnePhantomNodeIsInvalid() ) {
|
||||
// raw_route_data.lengthOfShortestPath = INT_MAX;
|
||||
// raw_route_data.lengthOfAlternativePath = INT_MAX;
|
||||
SimpleLogger().Write(logDEBUG) << "returning early";
|
||||
|
||||
Reference in New Issue
Block a user