My Project
OptimizationResult Class Reference

The OptimizationResult Class. More...

#include <OSResult.h>

Public Member Functions

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

Public Attributes

int numberOfSolutions
 numberOfSolutions is the number of objective functions reported.
 
int numberOfVariables
 numberOfVariables is the number of variables reported in the solution.
 
int numberOfObjectives
 numberOfObjectives is the number of objective functions reported in the solution.
 
int numberOfConstraints
 numberOfConstrants is the number of constraint functions reported in the solution.
 
OptimizationSolution ** solution
 solution is an array of pointers to OptimizationSolution objects
 
OtherSolverOutputotherSolverOutput
 otherSolverOutput is a pointer to an OtherSolverOutput object
 

Detailed Description

The OptimizationResult Class.

Author
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version
1.0, 03/14/2004
Since
OS 1.0
Remarks
A class for holding information that might be associated with an optimization solution.

Definition at line 2473 of file OSResult.h.

Constructor & Destructor Documentation

◆ OptimizationResult() [1/2]

OptimizationResult::OptimizationResult ( )

Default constructor.

Definition at line 1337 of file OSResult.cpp.

◆ ~OptimizationResult() [1/2]

OptimizationResult::~OptimizationResult ( )

Class destructor.

Definition at line 1351 of file OSResult.cpp.

◆ OptimizationResult() [2/2]

OptimizationResult::OptimizationResult ( )

Default constructor.

◆ ~OptimizationResult() [2/2]

OptimizationResult::~OptimizationResult ( )

Class destructor.

Member Function Documentation

◆ IsEqual()

bool OptimizationResult::IsEqual ( OptimizationResult * that)

A function to check for the equality of two objects.

Definition at line 8112 of file OSResult.cpp.

◆ setRandom()

bool OptimizationResult::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 10086 of file OSResult.cpp.

Member Data Documentation

◆ numberOfSolutions

int OptimizationResult::numberOfSolutions

numberOfSolutions is the number of objective functions reported.

numberOfSolubitons is the number of objective functions reported.

Definition at line 2480 of file OSResult.h.

◆ numberOfVariables

int OptimizationResult::numberOfVariables

numberOfVariables is the number of variables reported in the solution.

Definition at line 2485 of file OSResult.h.

◆ numberOfObjectives

int OptimizationResult::numberOfObjectives

numberOfObjectives is the number of objective functions reported in the solution.

Definition at line 2490 of file OSResult.h.

◆ numberOfConstraints

int OptimizationResult::numberOfConstraints

numberOfConstrants is the number of constraint functions reported in the solution.

Definition at line 2495 of file OSResult.h.

◆ solution

OptimizationSolution ** OptimizationResult::solution

solution is an array of pointers to OptimizationSolution objects

Definition at line 2500 of file OSResult.h.

◆ otherSolverOutput

OtherSolverOutput* OptimizationResult::otherSolverOutput

otherSolverOutput is a pointer to an OtherSolverOutput object

Definition at line 2505 of file OSResult.h.


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