Loading...
Searching...
No Matches
DIdxSet Class Reference Dynamic index set. More...
Inheritance diagram for DIdxSet:
![]()
Detailed DescriptionDynamic index set. Class DIdxSet provides dynamic IdxSet in the sense, that no restrictions are posed on the use of methods add(). However, method indexMem() has been moved to the private members. This is because DIdxSet adds its own memory management to class IdxSet and the user must not interfere with it. Upon construction of an DIdxSet, memory is allocated automatically. The memory consumption can be controlled with methods max() and setMax(). Finally, the destructor will release all allocated memory. Constructor & Destructor Documentation◆ DIdxSet() [1/3]
default constructor. Definition at line 64 of file didxset.cpp. References IdxSet::idx, IdxSet::len, and soplex::spx_alloc(). ◆ DIdxSet() [2/3]copy constructor from IdxSet. Definition at line 44 of file didxset.cpp. References IdxSet::idx, IdxSet::len, IdxSet::operator=(), IdxSet::size(), and soplex::spx_alloc(). ◆ DIdxSet() [3/3]copy constructor from DIdxSet. Definition at line 54 of file didxset.cpp. References IdxSet::idx, IdxSet::len, IdxSet::operator=(), IdxSet::size(), and soplex::spx_alloc(). ◆ ~DIdxSet()
destructor. Definition at line 71 of file didxset.cpp. References IdxSet::idx, and soplex::spx_free(). Member Function Documentation◆ add() [1/3]
adds all indices from Definition at line 68 of file didxset.h. References IdxSet::add(), IdxSet::max(), DIdxSet::setMax(), and IdxSet::size(). ◆ add() [2/3]
adds Definition at line 59 of file didxset.h. References IdxSet::add(), IdxSet::max(), DIdxSet::setMax(), and IdxSet::size(). ◆ add() [3/3]
adds Definition at line 79 of file didxset.h. References IdxSet::add(), IdxSet::max(), DIdxSet::setMax(), and IdxSet::size(). ◆ addIdx()
adds index Definition at line 88 of file didxset.h. References IdxSet::addIdx(), IdxSet::max(), DIdxSet::setMax(), and IdxSet::size(). ◆ operator=() [1/2]assignment operator from DIdxSet Definition at line 128 of file didxset.h. References IdxSet::operator=(), DIdxSet::setMax(), and IdxSet::size(). ◆ operator=() [2/2]assignment operator from IdxSet Definition at line 117 of file didxset.h. References IdxSet::operator=(), DIdxSet::setMax(), and IdxSet::size(). ◆ setMax()
sets the maximum number of indices. This methods resets the memory consumption of the DIdxSet to Definition at line 31 of file didxset.cpp. References IdxSet::idx, IdxSet::len, IdxSet::max(), IdxSet::size(), and soplex::spx_realloc(). Referenced by DIdxSet::add(), DIdxSet::add(), DIdxSet::add(), DIdxSet::addIdx(), DIdxSet::operator=(), and DIdxSet::operator=().
|