hpp-constraints  4.9.1
Definition of basic geometric constraints for motion planning
hpp::constraints::ImplicitConstraintSet Class Reference

#include <hpp/constraints/implicit-constraint-set.hh>

Inheritance diagram for hpp::constraints::ImplicitConstraintSet:
Collaboration diagram for hpp::constraints::ImplicitConstraintSet:

Public Types

typedef std::vector< ImplicitPtr_tImplicits_t
 

Public Member Functions

virtual ~ImplicitConstraintSet ()
 
std::ostream & print (std::ostream &os) const
 
 ImplicitConstraintSet (const std::string &name)
 
 ImplicitConstraintSet ()
 
 ImplicitConstraintSet (const ImplicitConstraintSet &o)
 
Function stack management
void add (const ImplicitPtr_t &constraint)
 
const std::vector< std::size_t > & inequalityIndices () const
 Get indices of constraint coordinates that are inequality. More...
 
const Eigen::RowBlockIndicesequalityIndices () const
 Get indices of constraint coordinates that are equality. More...
 
const Implicits_tconstraints () const
 Get constraints. More...
 
void merge (const ImplicitConstraintSetPtr_t &other)
 The output columns selection of other is not taken into account. More...
 
- Public Member Functions inherited from hpp::constraints::Implicit
bool operator== (const Implicit &other) const
 Operator equality. More...
 
virtual ImplicitPtr_t copy () const
 Copy object and return shared pointer to copy. More...
 
virtual ~Implicit ()
 
DifferentiableFunctionfunction () const
 Return a reference to function \(h\). More...
 
const DifferentiableFunctionPtr_tfunctionPtr () const
 Return a reference to function \(h\). More...
 
void rightHandSideFromConfig (ConfigurationIn_t config)
 
void rightHandSide (vectorIn_t rhs)
 
vectorIn_t rightHandSide () const
 Return the right hand side of the equation. More...
 
size_type rhsSize () const HPP_CONSTRAINTS_DEPRECATED
 
size_type parameterSize () const
 
size_type rightHandSideSize () const
 
const ComparisonTypes_tcomparisonType () const
 Return the ComparisonType. More...
 
void comparisonType (const ComparisonTypes_t &comp)
 Set the comparison type. More...
 
bool constantRightHandSide () const HPP_CONSTRAINTS_DEPRECATED
 
vectorOut_t rightHandSide ()
 
vectorOut_t nonConstRightHandSide () HPP_CONSTRAINTS_DEPRECATED
 
void rightHandSideFunction (const DifferentiableFunctionPtr_t &rhsF)
 
const DifferentiableFunctionPtr_trightHandSideFunction () const
 
vectorIn_t rightHandSideAt (const value_type &s)
 

Static Public Member Functions

static ImplicitConstraintSetPtr_t create (const std::string &name)
 
- Static Public Member Functions inherited from hpp::constraints::Implicit
static ImplicitPtr_t create (const DifferentiableFunctionPtr_t &function)
 
static ImplicitPtr_t create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp)
 
static ImplicitPtr_t create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs)
 
static ImplicitPtr_t createCopy (const ImplicitPtr_t &other)
 Create a copy and return shared pointer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from hpp::constraints::Implicit
 Implicit (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp)
 
 Implicit (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs)
 
 Implicit (const Implicit &other)
 Copy constructor. More...
 
virtual bool isEqual (const Implicit &other, bool swapAndTest) const
 
void init (const ImplicitWkPtr_t &weak)
 

Detailed Description

Set of implicit constraints

This class also handles selection of cols of the output matrix.

Member Typedef Documentation

◆ Implicits_t

Constructor & Destructor Documentation

◆ ~ImplicitConstraintSet()

virtual hpp::constraints::ImplicitConstraintSet::~ImplicitConstraintSet ( )
inlinevirtual

◆ ImplicitConstraintSet() [1/3]

hpp::constraints::ImplicitConstraintSet::ImplicitConstraintSet ( const std::string &  name)
inline

Constructor

Parameters
namethe name of the constraints,

◆ ImplicitConstraintSet() [2/3]

hpp::constraints::ImplicitConstraintSet::ImplicitConstraintSet ( )
inline

◆ ImplicitConstraintSet() [3/3]

hpp::constraints::ImplicitConstraintSet::ImplicitConstraintSet ( const ImplicitConstraintSet o)
inline

Member Function Documentation

◆ add()

void hpp::constraints::ImplicitConstraintSet::add ( const ImplicitPtr_t constraint)
inline

◆ constraints()

const Implicits_t& hpp::constraints::ImplicitConstraintSet::constraints ( ) const
inline

Get constraints.

◆ create()

static ImplicitConstraintSetPtr_t hpp::constraints::ImplicitConstraintSet::create ( const std::string &  name)
inlinestatic

Return a shared pointer to a new instance

Parameters
namethe name of the constraints,

◆ equalityIndices()

const Eigen::RowBlockIndices& hpp::constraints::ImplicitConstraintSet::equalityIndices ( ) const
inline

Get indices of constraint coordinates that are equality.

◆ inequalityIndices()

const std::vector<std::size_t>& hpp::constraints::ImplicitConstraintSet::inequalityIndices ( ) const
inline

Get indices of constraint coordinates that are inequality.

◆ merge()

void hpp::constraints::ImplicitConstraintSet::merge ( const ImplicitConstraintSetPtr_t other)
inline

The output columns selection of other is not taken into account.

◆ print()

std::ostream& hpp::constraints::ImplicitConstraintSet::print ( std::ostream &  os) const
inline

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