public class NonuniformBoundsTerm extends QPConstraintTermBase
QPTerm.Type
ModelComponent.NavpanelVisibility
DEFAULT_ENABLED, DEFAULT_WEIGHT, myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
Constructor and Description |
---|
NonuniformBoundsTerm() |
Modifier and Type | Method and Description |
---|---|
void |
clearBounds() |
int |
getTerm(MatrixNd A,
VectorNd b,
int rowoff,
double t0,
double t1)
Appends the constraints for this term to the constraint matrix A and
offset vector b.
|
int |
numConstraints(int qpsize)
Returns the number of constraints associated with this term.
|
void |
setBounds(VectorNd lowerBound,
VectorNd upperBound) |
void |
setLowerBound(VectorNd lowerBound) |
void |
setUpperBound(VectorNd upperBound) |
getType
getAllPropertyInfo, getController, getProperty, getWeight, isEnabled, isInternal, setEnabled, setInternal, setWeight
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getController, getWeight, isEnabled, setWeight
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getAllPropertyInfo, getProperty
getChildren, hasChildren
postscan
isWritable, write
public void setLowerBound(VectorNd lowerBound)
public void setUpperBound(VectorNd upperBound)
public void clearBounds()
public int getTerm(MatrixNd A, VectorNd b, int rowoff, double t0, double t1)
QPConstraintTerm
A x >= bwhile for equality constraints, they define the constraints
A x = b.
A
- quadratic program constraint matrixb
- quadratic program offset vectorrowoff
- row offset within A and b where the constraints should be
addedt0
- time at start of stept1
- time at end of steppublic int numConstraints(int qpsize)
QPConstraintTerm
qpsize
- size of the quadratic program. For the tracking
controller, this is the number of excitation values being used,