Skip to content

Commit

Permalink
Use <ExecutionPolicy::sequential> for now
Browse files Browse the repository at this point in the history
  • Loading branch information
franziska-wegner committed Jan 6, 2024
1 parent 2f022af commit 2a83818
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/Algorithms/PathFinding/DominatingThetaPath.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class DominatingThetaPath final {
std::vector<TEdgeId> edges;

Types::real result = \
labelSets_[target].for_all_optima(
labelSets_[target].for_all_optima<ExecutionPolicy::sequential>(
[ this, &vertices, &edges, &isVertexInSubgraph, &isEdgeInSubgraph ]( TLabel const & optLabel )
{
Types::labelId labelId = optLabel.Index();
Expand Down Expand Up @@ -264,7 +264,7 @@ class DominatingThetaPath final {

// Iterate over all optima
Types::real result = \
labelSets_[target].for_all_optima([ this, & parent = parent ]( TLabel const & optLabel )
labelSets_[target].for_all_optima<ExecutionPolicy::sequential>([ this, & parent = parent ]( TLabel const & optLabel )
{
// Add a row for another label path from target t
parent.emplace_back( std::vector<TVertexId>() );
Expand Down Expand Up @@ -409,7 +409,7 @@ class DominatingThetaPath final {

numberOfPathsPerVertex.resize( graph_.NumberOfVertices(), 0 );

labelSets_[target].for_all_optima (
labelSets_[target].for_all_optima<ExecutionPolicy::sequential> (
[&]( TLabel const & optLabel )
{
Types::labelId labelId = optLabel.Index();
Expand Down

0 comments on commit 2a83818

Please sign in to comment.