OR-Tools  8.2
BacktrackableIntegerSet< IntType >

Detailed Description

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

Definition at line 158 of file bop_ls.h.

Public Member Functions

 BacktrackableIntegerSet ()
 
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()

Definition at line 160 of file bop_ls.h.

Member Function Documentation

◆ AddBacktrackingLevel()

void AddBacktrackingLevel

Definition at line 143 of file bop_ls.cc.

◆ BacktrackAll()

void BacktrackAll

Definition at line 164 of file bop_ls.cc.

◆ BacktrackOneLevel()

void BacktrackOneLevel

Definition at line 149 of file bop_ls.cc.

◆ ChangeState()

void ChangeState ( IntType  i,
bool  should_be_inside 
)

Definition at line 133 of file bop_ls.cc.

◆ ClearAndResize()

void ClearAndResize ( IntType  n)

Definition at line 124 of file bop_ls.cc.

◆ size()

int size ( ) const
inline

Definition at line 174 of file bop_ls.h.

◆ Superset()

const std::vector<IntType>& Superset ( ) const
inline

Definition at line 177 of file bop_ls.h.


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