Public Member Functions | Protected Member Functions
MixedConstraints Class Reference

Derived class within the Constraints hierarchy which employs the default data view (no variable or domain type array merging). More...

Inheritance diagram for MixedConstraints:
Constraints

List of all members.

Public Member Functions

 MixedConstraints (const SharedVariablesData &svd)
 lightweight constructor
 MixedConstraints (const ProblemDescDB &problem_db, const SharedVariablesData &svd)
 standard constructor
 ~MixedConstraints ()
 destructor
void write (std::ostream &s) const
 write a variable constraints object to an std::ostream
void read (std::istream &s)
 read a variable constraints object from an std::istream

Protected Member Functions

void reshape (const SizetArray &vc_totals)
 reshape the lower/upper bound arrays within the Constraints hierarchy
void build_active_views ()
 construct active views of all variables bounds arrays
void build_inactive_views ()
 construct inactive views of all variables bounds arrays

Detailed Description

Derived class within the Constraints hierarchy which employs the default data view (no variable or domain type array merging).

Derived variable constraints classes take different views of the design, uncertain, and state variable types and the continuous and discrete domain types. The MixedConstraints derived class separates the design, uncertain, and state variable types as well as the continuous and discrete domain types. The result is separate lower and upper bounds arrays for continuous design, discrete design, uncertain, continuous state, and discrete state variables. This is the default approach, so all iterators and strategies not specifically utilizing the All or Merged views use this approach (see Variables::get_variables(problem_db) for variables type selection; variables type is passed to the Constraints constructor in Model).


Constructor & Destructor Documentation

MixedConstraints ( const ProblemDescDB problem_db,
const SharedVariablesData svd 
)

Member Function Documentation

void reshape ( const SizetArray &  vc_totals) [protected, virtual]

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