OS  2.10.1
Public Member Functions | Public Attributes | List of all members
VariableValues Class Reference

The VariableValues Class. More...

#include <OSResult.h>

+ Collaboration diagram for VariableValues:

Public Member Functions

 VariableValues ()
 Default constructor. More...
 
 ~VariableValues ()
 Class destructor. More...
 
bool IsEqual (VariableValues *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...
 

Public Attributes

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

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 contains values for all the variables

Definition at line 901 of file OSResult.h.

Constructor & Destructor Documentation

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.

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

A function to make a random instance of this class.

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

Member Data Documentation

int VariableValues::numberOfVar

the number of variable values that are in the solution

Definition at line 907 of file OSResult.h.

VarValue** VariableValues::var

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

Definition at line 912 of file OSResult.h.


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