VariableValues Class Reference

The VariableValues Class. More...

#include <OSResult.h>

Collaboration diagram for VariableValues:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VariableValues ()
 Default constructor.
 ~VariableValues ()
 Class destructor.
bool IsEqual (VariableValues *that)
 A function to check for the equality of two objects.
 VariableValues ()
 Default constructor.
 ~VariableValues ()
 Class destructor.

Public Attributes

int numberOfVar
 the number of variable values that are in the solution
VarValue ** var
 a vector of VarValue objects, there will be one for each variable in the solution
std::vector< VarValue * > var
 a vector of VarValue objects, there will be one for each variable in the solution

Detailed Description

The VariableValues Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that cotnains values for all the variables

Definition at line 884 of file OSResult.h.


Constructor & Destructor Documentation

VariableValues::VariableValues (  ) 

Default constructor.

Definition at line 456 of file OSResult.cpp.

VariableValues::~VariableValues (  ) 

Class destructor.

Definition at line 466 of file OSResult.cpp.

References numberOfVar, and var.

VariableValues::VariableValues (  ) 

Default constructor.

VariableValues::~VariableValues (  ) 

Class destructor.


Member Function Documentation

bool VariableValues::IsEqual ( VariableValues that  ) 

A function to check for the equality of two objects.

Definition at line 5592 of file OSResult.cpp.


Member Data Documentation

int VariableValues::numberOfVar

the number of variable values that are in the solution

Definition at line 889 of file OSResult.h.

Referenced by OSResult::getNumberOfPrimalVariableValues(), OSResult::getNumberOfVarValues(), OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), OSResult::getVarValueIdx(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfVarValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), OSrL2Gams::writeSolution(), and ~VariableValues().

VarValue** VariableValues::var

a vector of VarValue objects, there will be one for each variable in the solution

Definition at line 894 of file OSResult.h.

Referenced by OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), OSResult::getVarValueIdx(), OSResult::setNumberOfPrimalVariableValues(), OSResult::setNumberOfVarValues(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), OSrL2Gams::writeSolution(), and ~VariableValues().

std::vector<VarValue*> VariableValues::var

a vector of VarValue objects, there will be one for each variable in the solution

Definition at line 465 of file OSResult.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 5 03:11:52 2010 by  doxygen 1.4.7