OSDipBlockBearcatSolver Class Reference

#include <OSDipBlockBearcatSolver.h>

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

List of all members.

Classes

class  Factory

Public Member Functions

double qrouteCost (const int &k, const int &l, double *c, int *kountVar)
virtual void solve (double *cost, std::vector< IndexValuePair * > *solIndexValPair, double *optVal)
virtual void solve (double *cost, std::string *osrl)
 OSDipBlockBearcatSolver ()
 Default Constructor.
 OSDipBlockBearcatSolver (OSInstance *osinstance, OSOption *osoption)
 Create the solver with the instance.
 ~OSDipBlockBearcatSolver ()
 Default destructor.

Public Attributes

OSInstancem_osinstance
OSOptionm_osoption
OSResultm_osresult
int m_numberOfVar
int m_numHubs
int m_numNodes
int m_totalDemand
int m_minDemand
int * m_demand
double ** m_u
double ** m_v
int ** m_px
int ** m_tx
double ** m_g
int * m_varIdx
std::vector< IndexValuePair * > m_primalVals

Detailed Description

Definition at line 36 of file OSDipBlockBearcatSolver.h.


Constructor & Destructor Documentation

OSDipBlockBearcatSolver::OSDipBlockBearcatSolver (  ) 

Default Constructor.

Definition at line 25 of file OSDipBlockBearcatSolver.cpp.

OSDipBlockBearcatSolver::OSDipBlockBearcatSolver ( OSInstance osinstance,
OSOption osoption 
)

Create the solver with the instance.

Definition at line 31 of file OSDipBlockBearcatSolver.cpp.

OSDipBlockBearcatSolver::~OSDipBlockBearcatSolver (  ) 

Default destructor.

Definition at line 147 of file OSDipBlockBearcatSolver.cpp.


Member Function Documentation

double OSDipBlockBearcatSolver::qrouteCost ( const int &  k,
const int &  l,
double *  c,
int *  kountVar 
)

Definition at line 332 of file OSDipBlockBearcatSolver.cpp.

void OSDipBlockBearcatSolver::solve ( double *  cost,
std::vector< IndexValuePair * > *  solIndexValPair,
double *  optVal 
) [virtual]

Calculate the function value given the current variable values. This is an abstract method which is required to be implemented by the concrete operator nodes that derive or extend from this OSnLNode class.

Parameters:
cost -- an input value: pointer to the objective function (reduced) coefficients.
sv -- a return value: sparse vector with the optimal column
optVal -- a return value: the optimal solution value of the subproblem

Implements OSDipBlockSolver.

Definition at line 203 of file OSDipBlockBearcatSolver.cpp.

void OSDipBlockBearcatSolver::solve ( double *  cost,
std::string *  osrl 
) [virtual]

Calculate the function value given the current variable values. This is an abstract method which is required to be implemented by the concrete operator nodes that derive or extend from this OSnLNode class.

Parameters:
cost -- an input value: pointer to the objective function (reduced) coefficients.
osrl -- a return value: an osrl string

Implements OSDipBlockSolver.

Definition at line 316 of file OSDipBlockBearcatSolver.cpp.


Member Data Documentation

Definition at line 40 of file OSDipBlockBearcatSolver.h.

Definition at line 41 of file OSDipBlockBearcatSolver.h.

Definition at line 42 of file OSDipBlockBearcatSolver.h.

Definition at line 45 of file OSDipBlockBearcatSolver.h.

Definition at line 46 of file OSDipBlockBearcatSolver.h.

Definition at line 47 of file OSDipBlockBearcatSolver.h.

Definition at line 48 of file OSDipBlockBearcatSolver.h.

Definition at line 49 of file OSDipBlockBearcatSolver.h.

Definition at line 50 of file OSDipBlockBearcatSolver.h.

Definition at line 52 of file OSDipBlockBearcatSolver.h.

Definition at line 53 of file OSDipBlockBearcatSolver.h.

Definition at line 54 of file OSDipBlockBearcatSolver.h.

Definition at line 55 of file OSDipBlockBearcatSolver.h.

Definition at line 56 of file OSDipBlockBearcatSolver.h.

Definition at line 58 of file OSDipBlockBearcatSolver.h.

Definition at line 61 of file OSDipBlockBearcatSolver.h.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1