Alps
2.0.2
|
#include <AbcNodeDesc.h>
Public Member Functions | |
AbcNodeDesc () | |
virtual | ~AbcNodeDesc () |
double * | lowerBounds () |
void | setLowerBounds (const double *lb, const int size) |
void | setLowerBound (const int index, const double lb) |
double * | upperBounds () |
void | setUpperBounds (const double *ub, const int size) |
void | setUpperBound (const int index, const double ub) |
void | setBranchedOn (int b) |
void | setBranchedDir (int d) |
void | setBranchedOnValue (double b) |
int | getBranchedOn () const |
int | getBranchedDir () const |
double | getBranchedOnValue () const |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
Pack this node description into the given AlpsEncoded object. More... | |
virtual AlpsReturnStatus | decodeToSelf (AlpsEncoded &encoded) |
Unpack fields from the given AlpsEncoded object. More... | |
virtual AlpsNodeDesc * | decode (AlpsEncoded &encoded) const |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it. More... | |
AbcNodeDesc () | |
virtual | ~AbcNodeDesc () |
double * | lowerBounds () |
void | setLowerBounds (const double *lb, const int size) |
void | setLowerBound (const int index, const double lb) |
double * | upperBounds () |
void | setUpperBounds (const double *ub, const int size) |
void | setUpperBound (const int index, const double ub) |
void | setBranchedOn (int b) |
void | setBranchedDir (int d) |
void | setBranchedOnValue (double b) |
int | getBranchedOn () const |
int | getBranchedDir () const |
double | getBranchedOnValue () const |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
Pack this node description into the given AlpsEncoded object. More... | |
virtual AlpsReturnStatus | decodeToSelf (AlpsEncoded &encoded) |
Unpack fields from the given AlpsEncoded object. More... | |
virtual AlpsNodeDesc * | decode (AlpsEncoded &encoded) const |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it. More... | |
AbcNodeDesc () | |
virtual | ~AbcNodeDesc () |
double * | lowerBounds () |
void | setLowerBounds (const double *lb, const int size) |
void | setLowerBound (const int index, const double lb) |
double * | upperBounds () |
void | setUpperBounds (const double *ub, const int size) |
void | setUpperBound (const int index, const double ub) |
void | setBranchedOn (int b) |
void | setBranchedDir (int d) |
void | setBranchedOnValue (double b) |
int | getBranchedOn () const |
int | getBranchedDir () const |
double | getBranchedOnValue () const |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
Pack this node description into the given AlpsEncoded object. More... | |
virtual AlpsReturnStatus | decodeToSelf (AlpsEncoded &encoded) |
Unpack fields from the given AlpsEncoded object. More... | |
virtual AlpsNodeDesc * | decode (AlpsEncoded &encoded) const |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it. More... | |
Public Member Functions inherited from AlpsNodeDesc | |
AlpsNodeDesc () | |
Default constructor. More... | |
AlpsNodeDesc (AlpsKnowledgeBroker *broker) | |
virtual | ~AlpsNodeDesc () |
Destructor. More... | |
AlpsEncoded * | encode () const |
Pack this into an AlpsEncoded object and return a pointer to it. More... | |
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) const |
Pack this into an AlpsEncoded object and return a pointer to it. More... | |
Public Member Functions inherited from AlpsKnowledge | |
AlpsKnowledge () | |
Default constructor. More... | |
AlpsKnowledge (AlpsKnowledgeType type) | |
AlpsKnowledge (AlpsKnowledgeType type, AlpsKnowledgeBroker *broker) | |
virtual | ~AlpsKnowledge () |
Destructor. More... | |
AlpsKnowledgeType | getType () const |
Get knowledge type. More... | |
void | setType (AlpsKnowledgeType t) |
Set knowledge type. More... | |
AlpsKnowledgeBroker * | broker () |
Get pointer to the knowledge broker. More... | |
const AlpsKnowledgeBroker * | broker () const |
Get pointer to the knowledge broker. More... | |
void | setBroker (AlpsKnowledgeBroker *broker) |
Set knowledge broker. More... | |
AlpsEncoded * | encode () const |
Encode the content of this into an AlpsEncoded object and return a pointer to it. More... | |
Private Attributes | |
double * | lowerBounds_ |
double * | upperBounds_ |
int | numberRows_ |
Number of rows in problem (before these cuts). More... | |
int | numberCols_ |
int | branchedOn_ |
The index of the branching variable. More... | |
double | branchedOnVal_ |
The solution value (non-integral) of the branching variable. More... | |
int | branchedDir_ |
Branching direction. More... | |
Additional Inherited Members | |
Public Attributes inherited from AlpsKnowledge | |
AlpsKnowledgeBroker * | broker_ |
Definition at line 52 of file AbcNodeDesc.h.
|
inline |
Definition at line 82 of file AbcNodeDesc.h.
|
inlinevirtual |
Definition at line 95 of file AbcNodeDesc.h.
|
inline |
Definition at line 82 of file AbcNodeDesc.h.
|
inlinevirtual |
Definition at line 95 of file AbcNodeDesc.h.
|
inline |
Definition at line 82 of file AbcNodeDesc.h.
|
inlinevirtual |
Definition at line 95 of file AbcNodeDesc.h.
|
inline |
Definition at line 106 of file AbcNodeDesc.h.
|
inline |
Definition at line 120 of file AbcNodeDesc.h.
|
inline |
Definition at line 128 of file AbcNodeDesc.h.
|
inline |
Definition at line 140 of file AbcNodeDesc.h.
|
inline |
Definition at line 152 of file AbcNodeDesc.h.
|
inline |
Definition at line 160 of file AbcNodeDesc.h.
|
inline |
Definition at line 172 of file AbcNodeDesc.h.
|
inline |
Definition at line 174 of file AbcNodeDesc.h.
|
inline |
Definition at line 176 of file AbcNodeDesc.h.
|
inline |
Definition at line 178 of file AbcNodeDesc.h.
|
inline |
Definition at line 180 of file AbcNodeDesc.h.
|
inline |
Definition at line 182 of file AbcNodeDesc.h.
|
inlinevirtual |
Pack this node description into the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 184 of file AbcNodeDesc.h.
|
inlinevirtual |
Unpack fields from the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 189 of file AbcNodeDesc.h.
|
inlinevirtual |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it.
User application sub-classes should implement this since the returned pointer will point to user sub-class instances.
Implements AlpsKnowledge.
Definition at line 194 of file AbcNodeDesc.h.
|
inline |
Definition at line 106 of file AbcNodeDesc.h.
|
inline |
Definition at line 120 of file AbcNodeDesc.h.
|
inline |
Definition at line 128 of file AbcNodeDesc.h.
|
inline |
Definition at line 140 of file AbcNodeDesc.h.
|
inline |
Definition at line 152 of file AbcNodeDesc.h.
|
inline |
Definition at line 160 of file AbcNodeDesc.h.
|
inline |
Definition at line 172 of file AbcNodeDesc.h.
|
inline |
Definition at line 174 of file AbcNodeDesc.h.
|
inline |
Definition at line 176 of file AbcNodeDesc.h.
|
inline |
Definition at line 178 of file AbcNodeDesc.h.
|
inline |
Definition at line 180 of file AbcNodeDesc.h.
|
inline |
Definition at line 182 of file AbcNodeDesc.h.
|
inlinevirtual |
Pack this node description into the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 184 of file AbcNodeDesc.h.
|
inlinevirtual |
Unpack fields from the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 189 of file AbcNodeDesc.h.
|
inlinevirtual |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it.
User application sub-classes should implement this since the returned pointer will point to user sub-class instances.
Implements AlpsKnowledge.
Definition at line 194 of file AbcNodeDesc.h.
|
inline |
Definition at line 106 of file AbcNodeDesc.h.
|
inline |
Definition at line 120 of file AbcNodeDesc.h.
|
inline |
Definition at line 128 of file AbcNodeDesc.h.
|
inline |
Definition at line 140 of file AbcNodeDesc.h.
|
inline |
Definition at line 152 of file AbcNodeDesc.h.
|
inline |
Definition at line 160 of file AbcNodeDesc.h.
|
inline |
Definition at line 172 of file AbcNodeDesc.h.
|
inline |
Definition at line 174 of file AbcNodeDesc.h.
|
inline |
Definition at line 176 of file AbcNodeDesc.h.
|
inline |
Definition at line 178 of file AbcNodeDesc.h.
|
inline |
Definition at line 180 of file AbcNodeDesc.h.
|
inline |
Definition at line 182 of file AbcNodeDesc.h.
|
inlinevirtual |
Pack this node description into the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 184 of file AbcNodeDesc.h.
|
inlinevirtual |
Unpack fields from the given AlpsEncoded object.
Reimplemented from AlpsNodeDesc.
Definition at line 189 of file AbcNodeDesc.h.
|
inlinevirtual |
Decode the given AlpsEncoded object into a new AlpsKnowledge object and return a pointer to it.
User application sub-classes should implement this since the returned pointer will point to user sub-class instances.
Implements AlpsKnowledge.
Definition at line 194 of file AbcNodeDesc.h.
|
private |
Definition at line 63 of file AbcNodeDesc.h.
|
private |
Definition at line 65 of file AbcNodeDesc.h.
|
private |
Number of rows in problem (before these cuts).
This means that for top of chain it must be rows at continuous
Definition at line 69 of file AbcNodeDesc.h.
|
private |
Definition at line 71 of file AbcNodeDesc.h.
|
private |
The index of the branching variable.
Definition at line 74 of file AbcNodeDesc.h.
|
private |
The solution value (non-integral) of the branching variable.
Definition at line 77 of file AbcNodeDesc.h.
|
private |
Branching direction.
Definition at line 80 of file AbcNodeDesc.h.