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

Iterators on nodes used by Pathoperator to traverse the search space. More...

#include <constraint_solveri.h>

Public Member Functions

 AlternativeNodeIterator (bool use_sibling)
 ~AlternativeNodeIterator ()
template<class PathOperator>
void Reset (const PathOperator &path_operator, int base_index_reference)
bool Next ()
int GetValue () const

Detailed Description

Iterators on nodes used by Pathoperator to traverse the search space.

Definition at line 1368 of file constraint_solveri.h.

Constructor & Destructor Documentation

◆ AlternativeNodeIterator()

operations_research::AlternativeNodeIterator::AlternativeNodeIterator ( bool use_sibling)
inlineexplicit

Definition at line 1370 of file constraint_solveri.h.

◆ ~AlternativeNodeIterator()

operations_research::AlternativeNodeIterator::~AlternativeNodeIterator ( )
inline

Definition at line 1372 of file constraint_solveri.h.

Member Function Documentation

◆ GetValue()

int operations_research::AlternativeNodeIterator::GetValue ( ) const
inline

Definition at line 1388 of file constraint_solveri.h.

◆ Next()

bool operations_research::AlternativeNodeIterator::Next ( )
inline

Definition at line 1387 of file constraint_solveri.h.

◆ Reset()

template<class PathOperator>
void operations_research::AlternativeNodeIterator::Reset ( const PathOperator & path_operator,
int base_index_reference )
inline

Definition at line 1374 of file constraint_solveri.h.


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