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

The OtherSolutionResults Class. More...

#include <OSResult.h>

Collaboration diagram for OtherSolutionResults:
Collaboration graph
[legend]

Public Member Functions

 OtherSolutionResults ()
 Default constructor. More...
 
 ~OtherSolutionResults ()
 Class destructor. More...
 
bool IsEqual (OtherSolutionResults *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 numberOfOtherSolutionResults
 the number of elements in the pointer of OtherSolutionResult objects More...
 
OtherSolutionResult ** otherSolutionResult
 otherSolutionResult is a pointer to an array of OtherSolutionResult objects More...
 

Detailed Description

The OtherSolutionResults Class.

Author
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 the solution.

Definition at line 2205 of file OSResult.h.

Constructor & Destructor Documentation

OtherSolutionResults::OtherSolutionResults ( )

Default constructor.

Definition at line 1190 of file OSResult.cpp.

OtherSolutionResults::~OtherSolutionResults ( )

Class destructor.

Definition at line 1200 of file OSResult.cpp.

Member Function Documentation

bool OtherSolutionResults::IsEqual ( OtherSolutionResults that)

A function to check for the equality of two objects.

Definition at line 9426 of file OSResult.cpp.

bool OtherSolutionResults::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 10697 of file OSResult.cpp.

Member Data Documentation

int OtherSolutionResults::numberOfOtherSolutionResults

the number of elements in the pointer of OtherSolutionResult objects

Definition at line 2210 of file OSResult.h.

OtherSolutionResult** OtherSolutionResults::otherSolutionResult

otherSolutionResult is a pointer to an array of OtherSolutionResult objects

Definition at line 2215 of file OSResult.h.


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