My Project
OtherConResult Class Reference

The OtherConResult Class. More...

#include <OSResult.h>

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

Constructor & Destructor Documentation

◆ OtherConResult() [1/2]

OtherConResult::OtherConResult ( )

Default constructor.

Definition at line 822 of file OSResult.cpp.

◆ ~OtherConResult() [1/2]

OtherConResult::~OtherConResult ( )

Class destructor.

Definition at line 833 of file OSResult.cpp.

◆ OtherConResult() [2/2]

OtherConResult::OtherConResult ( )

Default constructor.

◆ ~OtherConResult() [2/2]

OtherConResult::~OtherConResult ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool OtherConResult::IsEqual ( OtherConResult * that)

A function to check for the equality of two objects.

Definition at line 9373 of file OSResult.cpp.

◆ setRandom()

bool OtherConResult::setRandom ( double density,
bool conformant )

A function to make a random instance of this class.

Parameters
densitycorresponds to the probability that a particular child element is created
conformantif true enforces side constraints not enforceable in the schema (e.g., agreement of "numberOfXXX" attributes and <XXX> children)

Definition at line 10682 of file OSResult.cpp.

Member Data Documentation

◆ idx

int OtherConResult::idx

idx is the index on the constraint

Definition at line 1714 of file OSResult.h.

◆ name

std::string OtherConResult::name

optional name

Definition at line 1717 of file OSResult.h.

◆ value

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


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