ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | List of all members
ocra::ConstraintSet< T > Class Template Reference

ConstraintSet class. More...

#include <ConstraintSet.h>

Public Member Functions

 ConstraintSet ()
 
Constraint< T > * getIthEqualityConstraint (size_t i)
 
Constraint< T > * getIthInequalityConstraint (size_t i)
 
ConstraintSet< T > & add (Constraint< T > *constraint)
 
ConstraintSet< T > & add (ConstraintSet< T > &constraintSet)
 
ConstraintSet< T > & remove (Constraint< T > *constraint)
 
ConstraintSet< T > & remove (ConstraintSet< T > &constraintSet)
 
size_t getNumberOfEqualityConstraints () const
 
size_t getNumberOfInequalityConstraints () const
 
size_t getEqualityDimension () const
 
size_t getInequalityDimension () const
 

Detailed Description

template<class T>
class ocra::ConstraintSet< T >

ConstraintSet class.

Warning
None

A set of constraint. This class is meant to be derived. ConstraintSet mimics the hierarchy of Function, in the same way Constraint does.

Definition at line 44 of file ConstraintSet.h.

Constructor & Destructor Documentation

template<class T >
ocra::ConstraintSet< T >::ConstraintSet ( )
inline

Definition at line 114 of file ConstraintSet.h.

Member Function Documentation

template<class T >
ConstraintSet< T > & ocra::ConstraintSet< T >::add ( Constraint< T > *  constraint)
inline

Definition at line 153 of file ConstraintSet.h.

template<class T >
ConstraintSet< T > & ocra::ConstraintSet< T >::add ( ConstraintSet< T > &  constraintSet)
inline

Definition at line 177 of file ConstraintSet.h.

template<class T >
size_t ocra::ConstraintSet< T >::getEqualityDimension ( ) const
inline

Definition at line 269 of file ConstraintSet.h.

template<class T >
size_t ocra::ConstraintSet< T >::getInequalityDimension ( ) const
inline

Definition at line 282 of file ConstraintSet.h.

template<class T >
Constraint< T > * ocra::ConstraintSet< T >::getIthEqualityConstraint ( size_t  i)
inline

Does what it says.

Definition at line 127 of file ConstraintSet.h.

template<class T >
Constraint< T > * ocra::ConstraintSet< T >::getIthInequalityConstraint ( size_t  i)
inline

Definition at line 140 of file ConstraintSet.h.

template<class T >
size_t ocra::ConstraintSet< T >::getNumberOfEqualityConstraints ( ) const
inline

Definition at line 243 of file ConstraintSet.h.

template<class T >
size_t ocra::ConstraintSet< T >::getNumberOfInequalityConstraints ( ) const
inline

Definition at line 256 of file ConstraintSet.h.

template<class T >
ConstraintSet< T > & ocra::ConstraintSet< T >::remove ( Constraint< T > *  constraint)
inline

Definition at line 195 of file ConstraintSet.h.

template<class T >
ConstraintSet< T > & ocra::ConstraintSet< T >::remove ( ConstraintSet< T > &  constraintSet)
inline

Definition at line 226 of file ConstraintSet.h.


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