Public Member Functions | Public Attributes | List of all members
DualVariableValues Class Reference

The DualVariableValues Class. More...

#include <OSResult.h>

Collaboration diagram for DualVariableValues:
Collaboration graph
[legend]

Public Member Functions

 DualVariableValues ()
 Default constructor. More...
 
 ~DualVariableValues ()
 Class destructor. More...
 
bool IsEqual (DualVariableValues *that)
 A function to check for the equality of two objects. More...
 
bool setRandom (double density, bool conformant)
 A function to make a random instance of this class. More...
 
 DualVariableValues ()
 Default constructor. More...
 
 ~DualVariableValues ()
 Class destructor. More...
 

Public Attributes

int numberOfCon
 record the number of constraints for which values are given More...
 
DualVarValue ** con
 con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function. More...
 
std::vector< DualVarValue * > con
 con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function. More...
 

Detailed Description

The DualVariableValues Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class for reporting dual variable values

Definition at line 1654 of file OSResult.h.

Constructor & Destructor Documentation

DualVariableValues::DualVariableValues ( )

Default constructor.

Definition at line 793 of file OSResult.cpp.

DualVariableValues::~DualVariableValues ( )

Class destructor.

Definition at line 804 of file OSResult.cpp.

DualVariableValues::DualVariableValues ( )

Default constructor.

DualVariableValues::~DualVariableValues ( )

Class destructor.

Member Function Documentation

bool DualVariableValues::IsEqual ( DualVariableValues that)

A function to check for the equality of two objects.

Definition at line 9179 of file OSResult.cpp.

bool DualVariableValues::setRandom ( double  density,
bool  conformant 
)

A function to make a random instance of this class.

Parameters
density,:corresponds to the probability that a particular child element is created
conformant,:if true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)

Definition at line 10593 of file OSResult.cpp.

Member Data Documentation

int DualVariableValues::numberOfCon

record the number of constraints for which values are given

Definition at line 1660 of file OSResult.h.

DualVarValue** DualVariableValues::con

con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function.

Definition at line 1666 of file OSResult.h.

std::vector<DualVarValue*> DualVariableValues::con

con is a vector of DualVarValue objects that give an index and dual variable value for each constraint function.

Definition at line 972 of file OSResult.h.


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