OtherVariableResult Class Reference

The OtherVariableResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherVariableResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

int numberOfVar
 the number of variables which have values for this particular type of result
std::string value
 this element allows a specific value associated with this particular type of result
std::string name
 the name of the result the user is defining
std::string description
 a brief description of the type of result
OtherVarResult ** var
std::vector< OtherVarResult * > var

Detailed Description

The OtherVariableResult Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that allows the solver to report an arbitrary result associated with variables

Definition at line 1147 of file OSResult.h.


Constructor & Destructor Documentation

OtherVariableResult::OtherVariableResult (  ) 

Default constructor.

Definition at line 588 of file OSResult.cpp.

OtherVariableResult::~OtherVariableResult (  ) 

Class destructor.

Definition at line 602 of file OSResult.cpp.

References numberOfVar, and var.

OtherVariableResult::OtherVariableResult (  ) 

Default constructor.

OtherVariableResult::~OtherVariableResult (  ) 

Class destructor.


Member Function Documentation

bool OtherVariableResult::IsEqual ( OtherVariableResult that  ) 

A function to check for the equality of two objects.

Definition at line 5853 of file OSResult.cpp.


Member Data Documentation

int OtherVariableResult::numberOfVar

the number of variables which have values for this particular type of result

Definition at line 1153 of file OSResult.h.

Referenced by OSResult::getAnOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultNumberOfVar(), OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), main(), OSrL2Gams::writeSolution(), and ~OtherVariableResult().

std::string OtherVariableResult::value

this element allows a specific value associated with this particular type of result

Definition at line 1158 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultValue().

std::string OtherVariableResult::name

the name of the result the user is defining

Definition at line 1161 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultName(), main(), and OSrL2Gams::writeSolution().

std::string OtherVariableResult::description

a brief description of the type of result

Definition at line 1164 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultDescription(), and main().

OtherVarResult** OtherVariableResult::var

Definition at line 1170 of file OSResult.h.

Referenced by OSResult::getOtherVariableResultVar(), OSResult::getOtherVariableResultVarIdx(), main(), OSrL2Gams::writeSolution(), and ~OtherVariableResult().

std::vector<OtherVarResult*> OtherVariableResult::var

Definition at line 631 of file OSResult.h.


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