#include <KnapTreeNode.h>


Public Member Functions | |
| KnapNodeDesc (KnapModel *m) | |
| KnapNodeDesc (KnapModel *m, KnapVarStatus *&st, int cap, int val) | |
| virtual | ~KnapNodeDesc () |
| void | setVarStatus (const int i, const KnapVarStatus status) |
| KnapVarStatus | getVarStatus (const int i) |
| const KnapVarStatus * | getVarStati () const |
| int | getUsedCapacity () const |
| int | getUsedValue () const |
Public Member Functions inherited from AlpsNodeDesc | |
| AlpsNodeDesc () | |
| AlpsNodeDesc (AlpsModel *m) | |
| virtual | ~AlpsNodeDesc () |
| AlpsModel * | getModel () const |
| void | setModel (AlpsModel *m) |
| virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
| Pack node description into an encoded. More... | |
| virtual AlpsReturnStatus | decode (AlpsEncoded &encoded) |
| Unpack a node description from an encoded. More... | |
Private Attributes | |
| KnapVarStatus * | varStatus_ |
| This array keeps track of which variables have been fixed by branching and which are still free. More... | |
| int | usedCapacity_ |
| The total size of the items fixed to be put into the knapsack. More... | |
| int | usedValue_ |
Additional Inherited Members | |
Protected Attributes inherited from AlpsNodeDesc | |
| AlpsModel * | model_ |
| A pointer to model. More... | |
Definition at line 36 of file KnapTreeNode.h.
|
inline |
Definition at line 70 of file KnapTreeNode.h.
|
inline |
Definition at line 82 of file KnapTreeNode.h.
|
inlinevirtual |
Definition at line 94 of file KnapTreeNode.h.
|
inline |
Definition at line 99 of file KnapTreeNode.h.
|
inline |
Definition at line 102 of file KnapTreeNode.h.
|
inline |
Definition at line 105 of file KnapTreeNode.h.
|
inline |
Definition at line 108 of file KnapTreeNode.h.
|
inline |
Definition at line 109 of file KnapTreeNode.h.
|
private |
This array keeps track of which variables have been fixed by branching and which are still free.
Definition at line 50 of file KnapTreeNode.h.
|
private |
The total size of the items fixed to be put into the knapsack.
Definition at line 53 of file KnapTreeNode.h.
|
private |
Definition at line 54 of file KnapTreeNode.h.
1.8.5