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

The SolverOutput Class. More...

#include <OSResult.h>

Collaboration diagram for SolverOutput:
Collaboration graph
[legend]

Public Member Functions

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

std::string name
 the name of the result the user is defining More...
 
std::string category
 this element allows a specific category to be associated with this particular type of result More...
 
std::string description
 a brief description of the type of result More...
 
int numberOfItems
 the number of items contained in this otherSolutionResult More...
 
std::string * item
 an array of items (string-valued) More...
 

Detailed Description

The SolverOutput 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 2354 of file OSResult.h.

Constructor & Destructor Documentation

SolverOutput::SolverOutput ( )

Default constructor.

Definition at line 1276 of file OSResult.cpp.

SolverOutput::~SolverOutput ( )

Class destructor.

Definition at line 1289 of file OSResult.cpp.

Member Function Documentation

bool SolverOutput::IsEqual ( SolverOutput that)

A function to check for the equality of two objects.

Definition at line 9616 of file OSResult.cpp.

bool SolverOutput::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 10772 of file OSResult.cpp.

Member Data Documentation

std::string SolverOutput::name

the name of the result the user is defining

Definition at line 2359 of file OSResult.h.

std::string SolverOutput::category

this element allows a specific category to be associated with this particular type of result

Definition at line 2364 of file OSResult.h.

std::string SolverOutput::description

a brief description of the type of result

Definition at line 2367 of file OSResult.h.

int SolverOutput::numberOfItems

the number of items contained in this otherSolutionResult

Definition at line 2371 of file OSResult.h.

std::string* SolverOutput::item

an array of items (string-valued)

Definition at line 2375 of file OSResult.h.


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