|
Dip 0.95.0
|
#include <AlpsDecompSolution.h>
Inheritance diagram for AlpsDecompSolution:
Collaboration diagram for AlpsDecompSolution:Public Member Functions | |
Helper functions (public). | |
| const int | getSize () const |
| Get length of solution. | |
| const double * | getValues () const |
| Get solution values. | |
| const double | getQuality () const |
| Get quality of solution. | |
| AlpsDecompSolution () | |
| AlpsDecompSolution (const int size, const double *values, const double quality, const DecompApp *app=NULL, const int depth=-1, const AlpsNodeIndex_t index=-1) | |
| virtual | ~AlpsDecompSolution () |
| virtual void | print (std::ostream &os) const |
| Print out the solution. | |
Public Member Functions inherited from AlpsSolution | |
| AlpsSolution () | |
| AlpsSolution (const AlpsNodeIndex_t i, const int d) | |
| virtual | ~AlpsSolution () |
| AlpsNodeIndex_t | getIndex () |
| void | setIndex (const AlpsNodeIndex_t i) |
| int | getDepth () |
| void | setDepth (const int d) |
Public Member Functions inherited from AlpsKnowledge | |
| AlpsKnowledge () | |
| virtual | ~AlpsKnowledge () |
| KnowledgeType | getType () |
| void | setType (KnowledgeType t) |
| virtual AlpsEncoded * | encode () const |
| virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) |
| virtual AlpsKnowledge * | decode (AlpsEncoded &encoded) const |
| AlpsEncoded * | getEncoded () const |
| void | setEncoded (AlpsEncoded *e) |
Protected Attributes | |
| int | m_size |
| Length of solution (number of columns). | |
| double * | m_values |
| Solution values. | |
| double | m_quality |
| Quality of solution (bound wrt to objective). | |
| const DecompApp * | m_app |
| Pointer to DecompApp for the print function. | |
Protected Attributes inherited from AlpsKnowledge | |
| KnowledgeType | type_ |
Definition at line 23 of file AlpsDecompSolution.h.
|
inline |
Definition at line 56 of file AlpsDecompSolution.h.
|
inline |
Definition at line 63 of file AlpsDecompSolution.h.
|
inlinevirtual |
Definition at line 80 of file AlpsDecompSolution.h.
|
inline |
Get length of solution.
Definition at line 41 of file AlpsDecompSolution.h.
|
inline |
Get solution values.
Definition at line 46 of file AlpsDecompSolution.h.
|
inline |
Get quality of solution.
Definition at line 51 of file AlpsDecompSolution.h.
|
inlinevirtual |
Print out the solution.
Reimplemented from AlpsSolution.
Definition at line 85 of file AlpsDecompSolution.h.
|
protected |
Length of solution (number of columns).
Definition at line 26 of file AlpsDecompSolution.h.
|
protected |
Solution values.
Definition at line 29 of file AlpsDecompSolution.h.
|
protected |
Quality of solution (bound wrt to objective).
Definition at line 32 of file AlpsDecompSolution.h.
|
protected |
Pointer to DecompApp for the print function.
Definition at line 35 of file AlpsDecompSolution.h.