#include <ClpNode.hpp>
Collaboration diagram for ClpHashValue:

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