Diana
0.8.3
|
#include <CapeNLPTask.hpp>
Public Member Functions | |
virtual | ~ICapeNLPTask () |
virtual eCapeNLPTaskType | Type () const =0 |
virtual const Common::Collection::ICapeCollection & | GetSoughtParameters () const =0 throw (Common::Error::ECapeUnknown) |
virtual ConstraintFuncArray * | GetConstraintFuncList (ConstraintType _type)=0 throw (Common::Error::ECapeUnknown) |
virtual void | SetNLPParameters (Parameters::ICapeOptimizationPoint *_pars)=0 throw (Common::Error::ECapeUnknown) |
virtual void | UpdateNLPParameters ()=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) |
virtual const Parameters::ICapeOptimizationPoint & | GetNLPParameters ()=0 throw (Common::Error::ECapeUnknown) |
virtual void | AddConstraintFunc (ICapeNLPFunction *_func, ConstraintType _type)=0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeDouble | CalcObjFunction ()=0 throw (Common::Error::ECapeUnknown, Common::Error::ECapeSolvingError) |
virtual Common::Types::CapeArrayDouble | CalcConstraints (ConstraintType _type)=0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeDouble | CalcConstraint (Common::Types::CapeLong _index, ConstraintType _type)=0 throw (Common::Error::ECapeUnknown) |
virtual Common::Types::CapeShort | GetConstraintsCount (ConstraintType type) const =0 throw (Common::Error::ECapeUnknown) |
Represents an interface for ICapeNLPTask class.
virtual ~ICapeNLPTask | ( | ) | [inline, virtual] |
Destructor for CapeNLPTask.
virtual void AddConstraintFunc | ( | ICapeNLPFunction * | _func, |
ConstraintType | _type | ||
) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Adds constraint function.
Implemented in DianaNLPTask.
virtual Common::Types::CapeDouble CalcConstraint | ( | Common::Types::CapeLong | _index, |
ConstraintType | _type | ||
) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Evaluates constraint functions of the same type for given set of parameters.
_index | index of constraint for calculation |
_type | type of constraints |
Implemented in DianaNLPTask.
virtual Common::Types::CapeArrayDouble CalcConstraints | ( | ConstraintType | _type | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Evaluates constraint functions of the same type for given set of parameters.
_type | type of constraints |
Implemented in DianaNLPTask.
virtual Common::Types::CapeDouble CalcObjFunction | ( | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeSolvingError) [pure virtual] |
Calculates and returns objective function value for optimization task.
Implemented in SensParameterFittingTask, ParameterFittingTask, BasicDynamicNLPTask, DianaOEDTask, MultipleFittingTask, and BasicNLPTask.
virtual ConstraintFuncArray* GetConstraintFuncList | ( | ConstraintType | _type | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Gets list of constrains of the type specified.
Implemented in DianaNLPTask.
virtual Common::Types::CapeShort GetConstraintsCount | ( | ConstraintType | type | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Returns count of constraint functions of the same type.
type | type of constraints |
Implemented in DianaNLPTask.
virtual const Parameters::ICapeOptimizationPoint& GetNLPParameters | ( | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Get fitting parameters values.
Implemented in DianaNLPTask.
virtual const Common::Collection::ICapeCollection& GetSoughtParameters | ( | ) | const throw (Common::Error::ECapeUnknown) [pure virtual] |
Returns sought parameters set.
Implemented in DianaNLPTask.
virtual void SetNLPParameters | ( | Parameters::ICapeOptimizationPoint * | _pars | ) | throw (Common::Error::ECapeUnknown) [pure virtual] |
Set new fitting parameters values.
Implemented in DianaNLPTask, and DianaParameterFittingTask.
virtual eCapeNLPTaskType Type | ( | ) | const [pure virtual] |
Returns type of solver that can be used for solving this task
Implemented in SensParameterFittingTask, ParameterFittingTask, SensMultipleFittingTask, MultipleFittingTask, and BasicNLPTask.
virtual void UpdateNLPParameters | ( | ) | throw (Common::Error::ECapeUnknown, Common::Error::ECapeInvalidArgument) [pure virtual] |
Set Parameters values as default parameters
Implemented in DianaNLPTask.