19 #ifndef HPP_CORE_CONFIG_PROJECTOR_HH 20 # define HPP_CORE_CONFIG_PROJECTOR_HH 24 # include <hpp/statistics/success-bin.hh> 26 # include <hpp/core/config.hh> 28 # include <hpp/core/deprecated.hh> 74 const std::string& name,
100 const std::size_t priority = 0);
112 const std::size_t priority)
114 return add (numericalConstraint,
segments_t(0), priority);
117 void lastIsOptional (
bool optional);
119 bool lastIsOptional ()
const;
126 std::size_t maxIter = 0);
215 bool rows =
true)
const;
223 bool rows =
true)
const;
228 void maxIterations (
size_type iterations);
233 void errorThreshold (
const value_type& threshold);
268 void rightHandSide (
const vector_t& param);
311 lineSearchType_ = ls;
317 return lineSearchType_;
344 virtual std::ostream& print (std::ostream& os)
const;
350 BySubstitution* solver_;
355 ConfigProjectorWkPtr_t weak_;
361 #endif // HPP_CORE_CONFIG_PROJECTOR_HH void lineSearchType(LineSearchType ls)
Set the line search type.
Definition: config-projector.hh:309
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:114
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
ObjectFactory * create(ObjectFactory *parent=NULL, const XMLElement *element=NULL)
pinocchio::ConfigurationOut_t ConfigurationOut_t
Definition: fwd.hh:98
pinocchio::size_type size_type
Definition: fwd.hh:156
Definition: config-projector.hh:57
constraints::NumericalConstraints_t NumericalConstraints_t
Definition: fwd.hh:213
LineSearchType lineSearchType() const
Get the line search type.
Definition: config-projector.hh:315
Definition: constraint.hh:37
void init(const ConstraintPtr_t &self)
Store shared pointer to itself.
Definition: constraint.hh:79
::hpp::statistics::SuccessStatistics & statistics()
Get the statistics.
Definition: config-projector.hh:294
pinocchio::vectorIn_t vectorIn_t
Definition: fwd.hh:202
Definition: config-projector.hh:61
constraints::matrixIn_t matrixIn_t
Definition: fwd.hh:149
boost::shared_ptr< Constraint > ConstraintPtr_t
Definition: fwd.hh:109
bool add(const constraints::ImplicitPtr_t &numericalConstraint, const std::size_t priority)
Definition: config-projector.hh:111
pinocchio::vector_t vector_t
Definition: fwd.hh:201
pinocchio::value_type value_type
Definition: fwd.hh:157
LineSearchType
Definition: config-projector.hh:60
void init(const ConfigProjectorPtr_t &self)
Store weak pointer to itself.
Definition: config-projector.hh:335
constraints::matrixOut_t matrixOut_t
Definition: fwd.hh:150
boost::shared_ptr< ConfigProjector > ConfigProjectorPtr_t
Definition: fwd.hh:104
constraints::Implicit NumericalConstraint HPP_CORE_DEPRECATED
Definition: fwd.hh:347
const BySubstitution & solver() const
Definition: config-projector.hh:303
constraints::segments_t segments_t
Definition: fwd.hh:162
pinocchio::vectorOut_t vectorOut_t
Definition: fwd.hh:203
Definition: config-projector.hh:62
Definition: config-projector.hh:63
constraints::solver::BySubstitution BySubstitution
Definition: config-projector.hh:32
boost::shared_ptr< Implicit > ImplicitPtr_t
const DevicePtr_t & robot() const
Get robot.
Definition: config-projector.hh:129