Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::bop::BacktrackableIntegerSet< IntType > Class Template Reference

Detailed Description

template<typename IntType>
class operations_research::bop::BacktrackableIntegerSet< IntType >

Definition at line 176 of file bop_ls.h.

#include <bop_ls.h>

Public Member Functions

 BacktrackableIntegerSet ()=default
void ClearAndResize (IntType n)
void ChangeState (IntType i, bool should_be_inside)
int size () const
const std::vector< IntType > & Superset () const
void AddBacktrackingLevel ()
void BacktrackOneLevel ()
void BacktrackAll ()

Constructor & Destructor Documentation

◆ BacktrackableIntegerSet()

template<typename IntType>
operations_research::bop::BacktrackableIntegerSet< IntType >::BacktrackableIntegerSet ( )
default

Member Function Documentation

◆ AddBacktrackingLevel()

template<typename IntType>
void operations_research::bop::BacktrackableIntegerSet< IntType >::AddBacktrackingLevel ( )

Definition at line 170 of file bop_ls.cc.

◆ BacktrackAll()

template<typename IntType>
void operations_research::bop::BacktrackableIntegerSet< IntType >::BacktrackAll ( )

Definition at line 191 of file bop_ls.cc.

◆ BacktrackOneLevel()

template<typename IntType>
void operations_research::bop::BacktrackableIntegerSet< IntType >::BacktrackOneLevel ( )

Definition at line 176 of file bop_ls.cc.

◆ ChangeState()

template<typename IntType>
void operations_research::bop::BacktrackableIntegerSet< IntType >::ChangeState ( IntType i,
bool should_be_inside )

Definition at line 160 of file bop_ls.cc.

◆ ClearAndResize()

template<typename IntType>
void operations_research::bop::BacktrackableIntegerSet< IntType >::ClearAndResize ( IntType n)

Definition at line 151 of file bop_ls.cc.

◆ size()

template<typename IntType>
int operations_research::bop::BacktrackableIntegerSet< IntType >::size ( ) const
inline

Definition at line 192 of file bop_ls.h.

◆ Superset()

template<typename IntType>
const std::vector< IntType > & operations_research::bop::BacktrackableIntegerSet< IntType >::Superset ( ) const
inline

Definition at line 195 of file bop_ls.h.


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