Clp
1.17.8
|
#include <ClpNode.hpp>
Classes | |
struct | CoinHashLink |
Data. More... | |
Public Member Functions | |
Useful methods | |
int | index (double value) const |
Return index or -1 if not found. More... | |
int | addValue (double value) |
Add value to list and return index. More... | |
int | numberEntries () const |
Number of different entries. More... | |
Constructors, destructor | |
ClpHashValue () | |
Default constructor. More... | |
ClpHashValue (ClpSimplex *model) | |
Useful constructor. More... | |
virtual | ~ClpHashValue () |
Destructor. More... | |
Copy method | |
ClpHashValue (const ClpHashValue &) | |
The copy constructor. More... | |
ClpHashValue & | operator= (const ClpHashValue &) |
= More... | |
Protected Attributes | |
Data members | |
The data members are protected to allow access for derived classes. | |
CoinHashLink * | hash_ |
Hash table. More... | |
int | numberHash_ |
Number of entries in hash table. More... | |
int | maxHash_ |
Maximum number of entries in hash table i.e. size. More... | |
int | lastUsed_ |
Last used space. More... | |
Private Member Functions | |
private stuff | |
int | hash (double value) const |
returns hash More... | |
void | resize (bool increaseMax) |
Resizes. More... | |
Definition at line 299 of file ClpNode.hpp.
ClpHashValue::ClpHashValue | ( | ) |
Default constructor.
ClpHashValue::ClpHashValue | ( | ClpSimplex * | model | ) |
Useful constructor.
|
virtual |
Destructor.
ClpHashValue::ClpHashValue | ( | const ClpHashValue & | ) |
The copy constructor.
int ClpHashValue::index | ( | double | value | ) | const |
Return index or -1 if not found.
int ClpHashValue::addValue | ( | double | value | ) |
Add value to list and return index.
|
inline |
Number of different entries.
Definition at line 309 of file ClpNode.hpp.
ClpHashValue& ClpHashValue::operator= | ( | const ClpHashValue & | ) |
=
|
private |
returns hash
|
private |
Resizes.
|
mutableprotected |
Hash table.
Definition at line 352 of file ClpNode.hpp.
|
protected |
Number of entries in hash table.
Definition at line 354 of file ClpNode.hpp.
|
protected |
Maximum number of entries in hash table i.e. size.
Definition at line 356 of file ClpNode.hpp.
|
protected |
Last used space.
Definition at line 358 of file ClpNode.hpp.