VarValue Class Reference

VarValue Class. More...

#include <OSResult.h>

List of all members.

Public Member Functions

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

Public Attributes

int idx
 idx is the index on variable in the solution
double value


Detailed Description

VarValue Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that is used to provide the value and index associated with the variables in the solution.

Definition at line 842 of file OSResult.h.


Constructor & Destructor Documentation

VarValue::VarValue (  ) 

Default constructor.

Definition at line 440 of file OSResult.cpp.

VarValue::~VarValue (  ) 

Class destructor.

Definition at line 450 of file OSResult.cpp.

VarValue::VarValue (  ) 

Default constructor.

VarValue::~VarValue (  ) 

Class destructor.


Member Function Documentation

bool VarValue::IsEqual ( VarValue that  ) 

A function to check for the equality of two objects.

Definition at line 5557 of file OSResult.cpp.

References idx, and value.


Member Data Documentation

int VarValue::idx

idx is the index on variable in the solution

Definition at line 846 of file OSResult.h.

Referenced by OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValueIdx(), IsEqual(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), and OSrL2Gams::writeSolution().

double VarValue::value

Definition at line 851 of file OSResult.h.

Referenced by OSResult::getOptimalPrimalVariableValues(), OSResult::getVarValue(), IsEqual(), OSResult::setPrimalVariableValues(), OSResult::setPrimalVariableValuesDense(), OSResult::setPrimalVariableValuesSparse(), OSResult::setVarValue(), and OSrL2Gams::writeSolution().


The documentation for this class was generated from the following files:
Generated on Sun Mar 20 03:12:25 2011 by  doxygen 1.4.7