Loading...
Searching...
No Matches
ConstraintGeneration.Constraint Class Reference
Public Member Functions | |
| def | __init__ (self, name, n) |
| def | __getitem__ (self, index) |
| def | getVars (self) |
| def | getConstraints (self) |
| def | addConstraint (self, f) |
| def | jacobian (self) |
| def | funcCode (self) |
| def | jacCode (self) |
| def | toCode (self) |
Public Attributes | |
| name_ | |
| variables_ | |
| constraints_ | |
Detailed Description
Definition at line 24 of file ConstraintGeneration.py.
Constructor & Destructor Documentation
◆ __init__()
| def ConstraintGeneration.Constraint.__init__ | ( | self, | |
| name, | |||
| n | |||
| ) |
Definition at line 26 of file ConstraintGeneration.py.
Member Function Documentation
◆ __getitem__()
| def ConstraintGeneration.Constraint.__getitem__ | ( | self, | |
| index | |||
| ) |
Return the index^th variable.
Definition at line 32 of file ConstraintGeneration.py.
◆ addConstraint()
| def ConstraintGeneration.Constraint.addConstraint | ( | self, | |
| f | |||
| ) |
Add some symbolic function of variables to the list of constraints.
Definition at line 44 of file ConstraintGeneration.py.
◆ funcCode()
| def ConstraintGeneration.Constraint.funcCode | ( | self | ) |
Definition at line 52 of file ConstraintGeneration.py.
◆ getConstraints()
| def ConstraintGeneration.Constraint.getConstraints | ( | self | ) |
Create a constraint function vector.
Definition at line 40 of file ConstraintGeneration.py.
◆ getVars()
| def ConstraintGeneration.Constraint.getVars | ( | self | ) |
Create a variable vector.
Definition at line 36 of file ConstraintGeneration.py.
◆ jacCode()
| def ConstraintGeneration.Constraint.jacCode | ( | self | ) |
Definition at line 61 of file ConstraintGeneration.py.
◆ jacobian()
| void ompl.base.Constraint.jacobian | ( | self | ) |
Compute the Jacobian of the current list of constraints.
Definition at line 48 of file ConstraintGeneration.py.
◆ toCode()
| def ConstraintGeneration.Constraint.toCode | ( | self | ) |
Definition at line 72 of file ConstraintGeneration.py.
Member Data Documentation
◆ constraints_
| ConstraintGeneration.Constraint.constraints_ |
Definition at line 30 of file ConstraintGeneration.py.
◆ name_
| ConstraintGeneration.Constraint.name_ |
Definition at line 27 of file ConstraintGeneration.py.
◆ variables_
| ConstraintGeneration.Constraint.variables_ |
Definition at line 29 of file ConstraintGeneration.py.
The documentation for this class was generated from the following files:
- demos/constraint/ConstraintGeneration.py
- ompl/base/src/Constraint.cpp