OtherVarResult Class Reference

OtherVarResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherVarResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

int idx
 the index of a variable in the solution
std::string value
 value holds a general value for a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the vairable with index idx, hence we want a string here and not a double

Detailed Description

OtherVarResult Class.

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

Definition at line 1014 of file OSResult.h.


Constructor & Destructor Documentation

OtherVarResult::OtherVarResult (  ) 

Default constructor.

Definition at line 528 of file OSResult.cpp.

OtherVarResult::~OtherVarResult (  ) 

Class destructor.

Definition at line 538 of file OSResult.cpp.

OtherVarResult::OtherVarResult (  ) 

Default constructor.

OtherVarResult::~OtherVarResult (  ) 

Class destructor.


Member Function Documentation

bool OtherVarResult::IsEqual ( OtherVarResult that  ) 

A function to check for the equality of two objects.

Definition at line 5756 of file OSResult.cpp.

References idx, and value.


Member Data Documentation

int OtherVarResult::idx

the index of a variable in the solution

Definition at line 1018 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultVarIdx(), IsEqual(), main(), OSResult::setOtherVariableResultVarIdx(), and OSrL2Gams::writeSolution().

std::string OtherVarResult::value

value holds a general value for a variable, for example, rather than the value of a variable we may wish to store the variable name associated with the vairable with index idx, hence we want a string here and not a double

Definition at line 1026 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultVar(), IsEqual(), main(), OSResult::setOtherVariableResultVar(), and OSrL2Gams::writeSolution().


The documentation for this class was generated from the following files:
Generated on Wed Mar 23 03:09:16 2011 by  doxygen 1.4.7