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 1678 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 7634 of file OSResult.cpp.

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 8906 of file OSResult.cpp.


Member Data Documentation

idx is the index on the constraint

Definition at line 1683 of file OSResult.h.

std::string OtherConResult::name

optional name

Definition at line 1686 of file OSResult.h.

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 1693 of file OSResult.h.


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

Generated on 16 Feb 2012 by  doxygen 1.6.1