Fix excluding nodes for one to all query
This commit is contained in:
committed by
Patrick Niklaus
parent
c459530cb6
commit
3b4e2e83ef
@@ -276,6 +276,12 @@ oneToManySearch(SearchEngineData<Algorithm> &engine_working_data,
|
||||
{
|
||||
const auto &data = facade.GetEdgeData(edge);
|
||||
const auto to = facade.GetTarget(edge);
|
||||
|
||||
if (facade.ExcludeNode(to))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((DIRECTION == FORWARD_DIRECTION ? facade.IsForwardEdge(edge)
|
||||
: facade.IsBackwardEdge(edge)) &&
|
||||
!query_heap.WasInserted(to))
|
||||
|
||||
Reference in New Issue
Block a user