Google OR-Tools v9.14
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 <routing_filters.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 321 of file routing_filters.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 343 of file routing_filters.h.

Member Function Documentation

◆ begin()

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

Definition at line 349 of file routing_filters.h.

◆ end()

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

Definition at line 350 of file routing_filters.h.

◆ First()

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

Definition at line 347 of file routing_filters.h.

◆ Last()

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

Definition at line 348 of file routing_filters.h.

◆ NumNodes()

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

Definition at line 346 of file routing_filters.h.

◆ WithoutFirstNode()

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

Definition at line 352 of file routing_filters.h.


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