Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::BreakPropagator Class Reference

Detailed Description

Definition at line 26 of file routing_breaks.h.

#include <routing_breaks.h>

Public Types

enum class  PropagationResult { kInfeasible , kChanged , kUnchanged }

Public Member Functions

 BreakPropagator (int num_nodes)
PropagationResult FastPropagations (int path, DimensionValues &dimension_values, const PrePostVisitValues &visits)
PropagationResult PropagateInterbreak (int path, DimensionValues &dimension, absl::Span< const std::pair< int64_t, int64_t > > interbreaks)

Static Public Attributes

static constexpr PropagationResult kInfeasible
static constexpr PropagationResult kChanged = PropagationResult::kChanged
static constexpr PropagationResult kUnchanged = PropagationResult::kUnchanged

Member Enumeration Documentation

◆ PropagationResult

Enumerator
kInfeasible 
kChanged 
kUnchanged 

Definition at line 33 of file routing_breaks.h.

Constructor & Destructor Documentation

◆ BreakPropagator()

operations_research::BreakPropagator::BreakPropagator ( int num_nodes)
explicit

Definition at line 32 of file routing_breaks.cc.

Member Function Documentation

◆ FastPropagations()

BreakPropagator::PropagationResult operations_research::BreakPropagator::FastPropagations ( int path,
DimensionValues & dimension_values,
const PrePostVisitValues & visits )

Definition at line 35 of file routing_breaks.cc.

◆ PropagateInterbreak()

BreakPropagator::PropagationResult operations_research::BreakPropagator::PropagateInterbreak ( int path,
DimensionValues & dimension,
absl::Span< const std::pair< int64_t, int64_t > > interbreaks )

Definition at line 207 of file routing_breaks.cc.

Member Data Documentation

◆ kChanged

PropagationResult operations_research::BreakPropagator::kChanged = PropagationResult::kChanged
staticconstexpr

Definition at line 38 of file routing_breaks.h.

◆ kInfeasible

PropagationResult operations_research::BreakPropagator::kInfeasible
staticconstexpr

◆ kUnchanged

PropagationResult operations_research::BreakPropagator::kUnchanged = PropagationResult::kUnchanged
staticconstexpr

Definition at line 39 of file routing_breaks.h.


The documentation for this class was generated from the following files: