OtherConstraintResult Class Reference

The OtherConstraintResult Class. More...

#include <OSResult.h>

Collaboration diagram for OtherConstraintResult:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

int numberOfCon
 the number of constraints which have values for this particular type of result
int numberOfEnumerations
 the number of distinct values for this particular type of result
std::string name
 the name of the result the user is defining
std::string value
 this element allows a specific value associated with this particular type of result
std::string description
 a brief description of the type of result
OtherConResult ** con
OtherOptionEnumeration ** enumeration
std::vector< OtherConResult * > con

Detailed Description

The OtherConstraintResult 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 constraints.

Definition at line 1736 of file OSResult.h.


Constructor & Destructor Documentation

OtherConstraintResult::OtherConstraintResult (  ) 

Default constructor.

Definition at line 843 of file OSResult.cpp.

OtherConstraintResult::~OtherConstraintResult (  ) 

Class destructor.

Definition at line 858 of file OSResult.cpp.

OtherConstraintResult::OtherConstraintResult (  ) 

Default constructor.

OtherConstraintResult::~OtherConstraintResult (  ) 

Class destructor.


Member Function Documentation

bool OtherConstraintResult::IsEqual ( OtherConstraintResult that  ) 

A function to check for the equality of two objects.

Definition at line 7557 of file OSResult.cpp.

bool OtherConstraintResult::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 8854 of file OSResult.cpp.


Member Data Documentation

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

Definition at line 1743 of file OSResult.h.

the number of distinct values for this particular type of result

Definition at line 1748 of file OSResult.h.

the name of the result the user is defining

Definition at line 1751 of file OSResult.h.

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

Definition at line 1756 of file OSResult.h.

a brief description of the type of result

Definition at line 1759 of file OSResult.h.

Definition at line 1766 of file OSResult.h.

Definition at line 1772 of file OSResult.h.

Definition at line 1066 of file OSResult.h.


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

Generated on 22 May 2012 by  doxygen 1.6.1