-------— Dimension -------—
More...
|
| Dimension (Solver *const s, Pack *const pack) |
|
| ~Dimension () override |
|
virtual void | Post ()=0 |
|
virtual void | InitialPropagate (int bin_index, const std::vector< int > &forced, const std::vector< int > &undecided)=0 |
|
virtual void | InitialPropagateUnassigned (const std::vector< int > &assigned, const std::vector< int > &unassigned)=0 |
|
virtual void | EndInitialPropagate ()=0 |
|
virtual void | Propagate (int bin_index, const std::vector< int > &forced, const std::vector< int > &removed)=0 |
|
virtual void | PropagateUnassigned (const std::vector< int > &assigned, const std::vector< int > &unassigned)=0 |
|
virtual void | EndPropagate ()=0 |
|
std::string | DebugString () const override |
|
virtual void | Accept (ModelVisitor *visitor) const =0 |
|
Solver * | solver () const |
|
bool | IsUndecided (int var_index, int bin_index) const |
|
bool | IsPossible (int var_index, int bin_index) const |
|
IntVar * | AssignVar (int var_index, int bin_index) const |
|
void | SetImpossible (int var_index, int bin_index) |
|
void | Assign (int var_index, int bin_index) |
|
bool | IsAssignedStatusKnown (int var_index) const |
|
void | SetAssigned (int var_index) |
|
void | SetUnassigned (int var_index) |
|
void | RemoveAllPossibleFromBin (int bin_index) |
|
void | AssignAllPossibleToBin (int bin_index) |
|
void | AssignFirstPossibleToBin (int bin_index) |
|
void | AssignAllRemainingItems () |
|
void | UnassignAllRemainingItems () |
|
| BaseObject () |
|
| BaseObject (const BaseObject &)=delete |
| This type is neither copyable nor movable.
|
|
BaseObject & | operator= (const BaseObject &)=delete |
|
virtual | ~BaseObject () |
|
-------— Dimension -------—
Definition at line 35 of file pack.cc.
◆ Dimension()
operations_research::Dimension::Dimension |
( |
Solver *const | s, |
|
|
Pack *const | pack ) |
|
inlineexplicit |
◆ ~Dimension()
operations_research::Dimension::~Dimension |
( |
| ) |
|
|
inlineoverride |
◆ Accept()
virtual void operations_research::Dimension::Accept |
( |
ModelVisitor * | visitor | ) |
const |
|
pure virtual |
◆ Assign()
void operations_research::Dimension::Assign |
( |
int | var_index, |
|
|
int | bin_index ) |
|
inline |
◆ AssignAllPossibleToBin()
void operations_research::Dimension::AssignAllPossibleToBin |
( |
int | bin_index | ) |
|
|
inline |
◆ AssignAllRemainingItems()
void operations_research::Dimension::AssignAllRemainingItems |
( |
| ) |
|
|
inline |
◆ AssignFirstPossibleToBin()
void operations_research::Dimension::AssignFirstPossibleToBin |
( |
int | bin_index | ) |
|
|
inline |
◆ AssignVar()
IntVar * operations_research::Dimension::AssignVar |
( |
int | var_index, |
|
|
int | bin_index ) const |
|
inline |
◆ DebugString()
std::string operations_research::Dimension::DebugString |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ EndInitialPropagate()
virtual void operations_research::Dimension::EndInitialPropagate |
( |
| ) |
|
|
pure virtual |
◆ EndPropagate()
virtual void operations_research::Dimension::EndPropagate |
( |
| ) |
|
|
pure virtual |
◆ InitialPropagate()
virtual void operations_research::Dimension::InitialPropagate |
( |
int | bin_index, |
|
|
const std::vector< int > & | forced, |
|
|
const std::vector< int > & | undecided ) |
|
pure virtual |
◆ InitialPropagateUnassigned()
virtual void operations_research::Dimension::InitialPropagateUnassigned |
( |
const std::vector< int > & | assigned, |
|
|
const std::vector< int > & | unassigned ) |
|
pure virtual |
◆ IsAssignedStatusKnown()
bool operations_research::Dimension::IsAssignedStatusKnown |
( |
int | var_index | ) |
const |
|
inline |
◆ IsPossible()
bool operations_research::Dimension::IsPossible |
( |
int | var_index, |
|
|
int | bin_index ) const |
|
inline |
◆ IsUndecided()
bool operations_research::Dimension::IsUndecided |
( |
int | var_index, |
|
|
int | bin_index ) const |
|
inline |
◆ Post()
virtual void operations_research::Dimension::Post |
( |
| ) |
|
|
pure virtual |
◆ Propagate()
virtual void operations_research::Dimension::Propagate |
( |
int | bin_index, |
|
|
const std::vector< int > & | forced, |
|
|
const std::vector< int > & | removed ) |
|
pure virtual |
◆ PropagateUnassigned()
virtual void operations_research::Dimension::PropagateUnassigned |
( |
const std::vector< int > & | assigned, |
|
|
const std::vector< int > & | unassigned ) |
|
pure virtual |
◆ RemoveAllPossibleFromBin()
void operations_research::Dimension::RemoveAllPossibleFromBin |
( |
int | bin_index | ) |
|
|
inline |
◆ SetAssigned()
void operations_research::Dimension::SetAssigned |
( |
int | var_index | ) |
|
|
inline |
◆ SetImpossible()
void operations_research::Dimension::SetImpossible |
( |
int | var_index, |
|
|
int | bin_index ) |
|
inline |
◆ SetUnassigned()
void operations_research::Dimension::SetUnassigned |
( |
int | var_index | ) |
|
|
inline |
◆ solver()
Solver * operations_research::Dimension::solver |
( |
| ) |
const |
|
inline |
◆ UnassignAllRemainingItems()
void operations_research::Dimension::UnassignAllRemainingItems |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: