OptimizationOption Class Reference

the OptimizationOption class. More...

#include <OSOption.h>

Collaboration diagram for OptimizationOption:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

int numberOfVariables
 the number of variables
int numberOfObjectives
 the number of objectives
int numberOfConstraints
 the number of constraints
VariableOptionvariables
 the options for the variables
ObjectiveOptionobjectives
 the options for the objectives
ConstraintOptionconstraints
 the options for the constraints
SolverOptionssolverOptions
 other solver options

Detailed Description

the OptimizationOption class.

Author:
Robert Fourer, Horand Gassmann, Jun Ma, Kipp Martin
Version:
1.0, 21/07/2008
Since:
OS 1.1
Remarks:
A data structure class that corresponds to an xml element in the OSoL schema.

Definition at line 3176 of file OSOption.h.


Constructor & Destructor Documentation

OptimizationOption::OptimizationOption (  ) 

Default constructor.

Definition at line 1228 of file OSOption.cpp.

OptimizationOption::~OptimizationOption (  ) 

Class destructor.

Definition at line 1242 of file OSOption.cpp.


Member Function Documentation

bool OptimizationOption::IsEqual ( OptimizationOption that  ) 

A function to check for the equality of two objects.

Definition at line 9821 of file OSOption.cpp.

bool OptimizationOption::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" attributes and <XXX> children)

Definition at line 12084 of file OSOption.cpp.


Member Data Documentation

the number of variables

Definition at line 3181 of file OSOption.h.

the number of objectives

Definition at line 3184 of file OSOption.h.

the number of constraints

Definition at line 3187 of file OSOption.h.

the options for the variables

Definition at line 3190 of file OSOption.h.

the options for the objectives

Definition at line 3193 of file OSOption.h.

the options for the constraints

Definition at line 3196 of file OSOption.h.

other solver options

Definition at line 3199 of file OSOption.h.


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

Generated on 15 Jul 2012 by  doxygen 1.6.1