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

A Chain is a range of committed nodes. More...

#include <constraint_solveri.h>

Classes

class  Iterator
 

Public Member Functions

 Chain (const int *begin_node, const int *end_node)
 
int NumNodes () const
 
int First () const
 
int Last () const
 
Iterator begin () const
 
Iterator end () const
 
Chain WithoutFirstNode () const
 

Detailed Description

A Chain is a range of committed nodes.

Definition at line 3551 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ Chain()

operations_research::PathState::Chain::Chain ( const int * begin_node,
const int * end_node )
inline

Chains hold CommittedNode* values, a Chain may be invalidated if the underlying vector is modified.

Definition at line 3573 of file constraint_solveri.h.

Member Function Documentation

◆ begin()

Iterator operations_research::PathState::Chain::begin ( ) const
inline

Definition at line 3579 of file constraint_solveri.h.

◆ end()

Iterator operations_research::PathState::Chain::end ( ) const
inline

Definition at line 3580 of file constraint_solveri.h.

◆ First()

int operations_research::PathState::Chain::First ( ) const
inline

Definition at line 3577 of file constraint_solveri.h.

◆ Last()

int operations_research::PathState::Chain::Last ( ) const
inline

Definition at line 3578 of file constraint_solveri.h.

◆ NumNodes()

int operations_research::PathState::Chain::NumNodes ( ) const
inline

Definition at line 3576 of file constraint_solveri.h.

◆ WithoutFirstNode()

Chain operations_research::PathState::Chain::WithoutFirstNode ( ) const
inline

Definition at line 3582 of file constraint_solveri.h.


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