OtherConResult Class Reference

The OtherConResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherConResult:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Public Attributes

int idx
 idx is the index on the constraint
std::string name
 optional name
std::string value
 value is a value associated with the constraint indexed by idx, for example value might be the value of a dual variable or it might be the name of the constraint.

Detailed Description

The OtherConResult Class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 03/14/2004
Since:
OS 1.0
Remarks:
A class that provides general result information for constraints.

Definition at line 1679 of file OSResult.h.


Constructor & Destructor Documentation

OtherConResult::OtherConResult (  ) 

Default constructor.

Definition at line 823 of file OSResult.cpp.

OtherConResult::~OtherConResult (  ) 

Class destructor.

Definition at line 834 of file OSResult.cpp.

OtherConResult::OtherConResult (  ) 

Default constructor.

OtherConResult::~OtherConResult (  ) 

Class destructor.


Member Function Documentation

bool OtherConResult::IsEqual ( OtherConResult that  ) 

A function to check for the equality of two objects.

Definition at line 7635 of file OSResult.cpp.

References idx, name, and value.

bool OtherConResult::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" atrbutes and <XXX> children)

Definition at line 8907 of file OSResult.cpp.

References OSRand().

Referenced by OtherConstraintResult::setRandom().


Member Data Documentation

int OtherConResult::idx

idx is the index on the constraint

Definition at line 1684 of file OSResult.h.

Referenced by OSResult::getOtherConstraintResultConIdx(), IsEqual(), and OSResult::setOtherConstraintResultConIdx().

std::string OtherConResult::name

optional name

Definition at line 1687 of file OSResult.h.

Referenced by IsEqual(), and OSResult::setOtherConstraintResultConName().

std::string OtherConResult::value

value is a value associated with the constraint indexed by idx, for example value might be the value of a dual variable or it might be the name of the constraint.

Definition at line 1694 of file OSResult.h.

Referenced by OSResult::getOtherConstraintResultCon(), IsEqual(), and OSResult::setOtherConstraintResultCon().


The documentation for this class was generated from the following files:
Generated on Wed Nov 30 03:12:12 2011 by  doxygen 1.4.7