My Project
OtherObjectiveResult Class Reference

The OtherObjectiveResult Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

int numberOfObj
 the number of objectives which have values for this particular type of result
 
int numberOfEnumerations
 the number of distinct values for this particular type of result
 
std::string name
 the name of the result the user is defining
 
std::string value
 this element allows a specific value associated with this particular type of result
 
std::string type
 type of the result value (integer, double, boolean, string)
 
std::string description
 a brief description of the type of result
 
std::string solver
 the solver of the result value
 
std::string category
 the category of the result value
 
OtherObjResult ** obj
 
std::string objType
 type of the values in the obj array
 
OtherOptionOrResultEnumeration ** enumeration
 
std::string enumType
 type of the values in the enumeration array
 
std::vector< OtherObjResult * > obj
 

Detailed Description

The OtherObjectiveResult Class.

Author
Robert Fourer, 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 objective functions

Definition at line 1443 of file OSResult.h.

Constructor & Destructor Documentation

◆ OtherObjectiveResult() [1/2]

OtherObjectiveResult::OtherObjectiveResult ( )

Default constructor.

Definition at line 686 of file OSResult.cpp.

◆ ~OtherObjectiveResult() [1/2]

OtherObjectiveResult::~OtherObjectiveResult ( )

Class destructor.

Definition at line 704 of file OSResult.cpp.

◆ OtherObjectiveResult() [2/2]

OtherObjectiveResult::OtherObjectiveResult ( )

Default constructor.

◆ ~OtherObjectiveResult() [2/2]

OtherObjectiveResult::~OtherObjectiveResult ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool OtherObjectiveResult::IsEqual ( OtherObjectiveResult * that)

A function to check for the equality of two objects.

Definition at line 8978 of file OSResult.cpp.

◆ setRandom()

bool OtherObjectiveResult::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 10486 of file OSResult.cpp.

Member Data Documentation

◆ numberOfObj

int OtherObjectiveResult::numberOfObj

the number of objectives which have values for this particular type of result

Definition at line 1450 of file OSResult.h.

◆ numberOfEnumerations

int OtherObjectiveResult::numberOfEnumerations

the number of distinct values for this particular type of result

Definition at line 1455 of file OSResult.h.

◆ name

std::string OtherObjectiveResult::name

the name of the result the user is defining

Definition at line 1458 of file OSResult.h.

◆ value

std::string OtherObjectiveResult::value

this element allows a specific value associated with this particular type of result

Definition at line 1463 of file OSResult.h.

◆ type

std::string OtherObjectiveResult::type

type of the result value (integer, double, boolean, string)

Definition at line 1466 of file OSResult.h.

◆ description

std::string OtherObjectiveResult::description

a brief description of the type of result

Definition at line 1469 of file OSResult.h.

◆ solver

std::string OtherObjectiveResult::solver

the solver of the result value

Definition at line 1472 of file OSResult.h.

◆ category

std::string OtherObjectiveResult::category

the category of the result value

Definition at line 1475 of file OSResult.h.

◆ obj [1/2]

OtherObjResult** OtherObjectiveResult::obj

Definition at line 1481 of file OSResult.h.

◆ objType

std::string OtherObjectiveResult::objType

type of the values in the obj array

Definition at line 1484 of file OSResult.h.

◆ enumeration

OtherOptionOrResultEnumeration** OtherObjectiveResult::enumeration

Definition at line 1490 of file OSResult.h.

◆ enumType

std::string OtherObjectiveResult::enumType

type of the values in the enumeration array

Definition at line 1493 of file OSResult.h.

◆ obj [2/2]

std::vector<OtherObjResult*> OtherObjectiveResult::obj

Definition at line 840 of file OSResult.h.


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