AlpsDecompSolution Class Reference

#include <AlpsDecompSolution.h>

Inheritance diagram for AlpsDecompSolution:
Inheritance graph
[legend]
Collaboration diagram for AlpsDecompSolution:
Collaboration graph
[legend]

List of all members.

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 ()
 Get length of solution.
 AlpsDecompSolution (const int size, const double *values, const double quality, const DecompApp *app=NULL, const int depth=-1, const AlpsNodeIndex_t index=-1)
 Get length of solution.
virtual ~AlpsDecompSolution ()
 Get length of solution.
virtual void print (std::ostream &os) const
 Print out the solution.

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 DecompAppm_app
 Pointer to DecompApp for the print function.

Detailed Description

Definition at line 24 of file AlpsDecompSolution.h.


Constructor & Destructor Documentation

AlpsDecompSolution::AlpsDecompSolution (  )  [inline]

Get length of solution.

Definition at line 57 of file AlpsDecompSolution.h.

AlpsDecompSolution::AlpsDecompSolution ( const int  size,
const double *  values,
const double  quality,
const DecompApp app = NULL,
const int  depth = -1,
const AlpsNodeIndex_t  index = -1 
) [inline]

Get length of solution.

Definition at line 64 of file AlpsDecompSolution.h.

References CoinAssert, CoinAssertHint, m_size, and m_values.

virtual AlpsDecompSolution::~AlpsDecompSolution (  )  [inline, virtual]

Get length of solution.

Definition at line 81 of file AlpsDecompSolution.h.

References m_values, and UTIL_DELARR.


Member Function Documentation

const int AlpsDecompSolution::getSize (  )  const [inline]

Get length of solution.

Definition at line 42 of file AlpsDecompSolution.h.

References m_size.

const double* AlpsDecompSolution::getValues (  )  const [inline]

Get solution values.

Definition at line 47 of file AlpsDecompSolution.h.

References m_values.

const double AlpsDecompSolution::getQuality (  )  const [inline]

Get quality of solution.

Definition at line 52 of file AlpsDecompSolution.h.

References m_quality.

virtual void AlpsDecompSolution::print ( std::ostream &  os  )  const [inline, virtual]

Member Data Documentation

int AlpsDecompSolution::m_size [protected]

Length of solution (number of columns).

Definition at line 27 of file AlpsDecompSolution.h.

Referenced by AlpsDecompSolution(), getSize(), and print().

double* AlpsDecompSolution::m_values [protected]

Solution values.

Definition at line 30 of file AlpsDecompSolution.h.

Referenced by AlpsDecompSolution(), getValues(), print(), and ~AlpsDecompSolution().

double AlpsDecompSolution::m_quality [protected]

Quality of solution (bound wrt to objective).

Definition at line 33 of file AlpsDecompSolution.h.

Referenced by getQuality().

Pointer to DecompApp for the print function.

Definition at line 36 of file AlpsDecompSolution.h.

Referenced by print().


The documentation for this class was generated from the following file:

Generated on 5 Apr 2015 for Dip-All by  doxygen 1.6.1