My Project
OptimizationOption Class Reference

the OptimizationOption class. More...

#include <OSOption.h>

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.
 
bool deepCopyFrom (OptimizationOption *that)
 A function to make a deep copy of an 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 3495 of file OSOption.h.

Constructor & Destructor Documentation

◆ OptimizationOption()

OptimizationOption::OptimizationOption ( )

Default constructor.

Definition at line 1232 of file OSOption.cpp.

◆ ~OptimizationOption()

OptimizationOption::~OptimizationOption ( )

Class destructor.

Definition at line 1246 of file OSOption.cpp.

Member Function Documentation

◆ IsEqual()

bool OptimizationOption::IsEqual ( OptimizationOption * that)

A function to check for the equality of two objects.

Definition at line 9898 of file OSOption.cpp.

◆ setRandom()

bool OptimizationOption::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 12411 of file OSOption.cpp.

◆ deepCopyFrom()

bool OptimizationOption::deepCopyFrom ( OptimizationOption * that)

A function to make a deep copy of an instance of this class.

Parameters
thatthe instance from which information is to be copied
Returns
whether the copy was created successfully

Definition at line 13540 of file OSOption.cpp.

Member Data Documentation

◆ numberOfVariables

int OptimizationOption::numberOfVariables

the number of variables

Definition at line 3500 of file OSOption.h.

◆ numberOfObjectives

int OptimizationOption::numberOfObjectives

the number of objectives

Definition at line 3503 of file OSOption.h.

◆ numberOfConstraints

int OptimizationOption::numberOfConstraints

the number of constraints

Definition at line 3506 of file OSOption.h.

◆ variables

VariableOption* OptimizationOption::variables

the options for the variables

Definition at line 3509 of file OSOption.h.

◆ objectives

ObjectiveOption* OptimizationOption::objectives

the options for the objectives

Definition at line 3512 of file OSOption.h.

◆ constraints

ConstraintOption* OptimizationOption::constraints

the options for the constraints

Definition at line 3515 of file OSOption.h.

◆ solverOptions

SolverOptions* OptimizationOption::solverOptions

other solver options

Definition at line 3518 of file OSOption.h.


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