My Project
ObjValue Class Reference

The ObjValue Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

int idx
 idx is the index on an objective function
 
std::string name
 optional name
 
double value
 the value of the objective indexed by idx
 

Detailed Description

The ObjValue 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 the value of an objective function

Definition at line 1281 of file OSResult.h.

Constructor & Destructor Documentation

◆ ObjValue() [1/2]

ObjValue::ObjValue ( )

Default constructor.

Definition at line 618 of file OSResult.cpp.

◆ ~ObjValue() [1/2]

ObjValue::~ObjValue ( )

Class destructor.

Definition at line 629 of file OSResult.cpp.

◆ ObjValue() [2/2]

ObjValue::ObjValue ( )

Default constructor.

◆ ~ObjValue() [2/2]

ObjValue::~ObjValue ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool ObjValue::IsEqual ( ObjValue * that)

A function to check for the equality of two objects.

Definition at line 8925 of file OSResult.cpp.

◆ setRandom()

bool ObjValue::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 10469 of file OSResult.cpp.

Member Data Documentation

◆ idx

int ObjValue::idx

idx is the index on an objective function

Definition at line 1286 of file OSResult.h.

◆ name

std::string ObjValue::name

optional name

Definition at line 1289 of file OSResult.h.

◆ value

double ObjValue::value

the value of the objective indexed by idx

Definition at line 1292 of file OSResult.h.


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