- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# OtherConResult Class Reference

The OtherConResult Class. More...

`#include <OSResult.h>`

Collaboration diagram for OtherConResult:

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

## Constructor & Destructor Documentation

OtherConResult::OtherConResult | ( |  | ) |

Default constructor.

Definition at line 754 of file OSResult.cpp.

OtherConResult::~OtherConResult | ( |  | ) |

Class destructor.

Definition at line 764 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 6974 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 8218 of file OSResult.cpp.

Referenced by OtherConstraintResult::setRandom().

## Member Data Documentation

int OtherConResult::idx

idx is the index on the constraint

Definition at line 1637 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 1644 of file OSResult.h.

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

- /home/coin/SVN-release/OS-2.3.5/OS/src/OSCommonInterfaces/OSResult.h
- /home/coin/SVN-release/OS-2.3.5/OS/v2.0/OSResult.h
- /home/coin/SVN-release/OS-2.3.5/OS/src/OSCommonInterfaces/OSResult.cpp
- /home/coin/SVN-release/OS-2.3.5/OS/v2.0/OSResult.cpp