All Frameworks  Class Hierarchy  This Framework  Indexes   

OptimizationInterfaces Interface CATIOptProblem

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIOptProblem

Interface to encapsulate the data access to an optimization problem definition.


Method Index


o AddConstraint(CATIOptConstraint_var&)
Adds a constraint.
o AddGoal(CATIOptGoal_var&)
Adds a goal.
o GetConstraints()
Returns the list of constraints defined for the problem optimization definition.
o GetGoals()
Returns the list of goals defined for the problem optimization definition.
o RemoveConstraint(CATIOptConstraint_var&,int)
Removes a constraint.
o RemoveGoal(CATIOptGoal_var&,int)
Removes a goal.

Methods


o AddConstraint
public virtual AddConstraint( const constraint)
Adds a constraint.
Parameters:
constraint
: the constraint to be added.
o AddGoal
public virtual AddGoal( const goal)
Adds a goal.
Parameters:
goal
: the goal to be added.
o GetConstraints
public virtual GetConstraints()
Returns the list of constraints defined for the problem optimization definition. This list mustn't be destroyed.
o GetGoals
public virtual GetGoals()
Returns the list of goals defined for the problem optimization definition. This list mustn't be destroyed.
o RemoveConstraint
public virtual RemoveConstraint( const constraint,
index)
Removes a constraint.
Parameters:
constraint
: the pointer on the constraint to remove.
index
: the index of the constraint to remove.
o RemoveGoal
public virtual RemoveGoal( const goal,
index)
Removes a goal.
Parameters:
goal
: the pointer on the goal to remove.
index
: the index of the goal to remove.

This object is included in the file: CATIOptProblem.h
If needed, your Imakefile.mk should include the module: OptimizationItf

Copyright © 2003, Dassault Systèmes. All rights reserved.