public interface ConstraintParam<E>
| Modifier and Type | Method and Description |
|---|---|
String |
fullSignature()
Get the signature of the parameter including the parameter name.
|
String |
getName()
Get the parameter name.
|
boolean |
isCompatibleWith(BtrPlaceTree t,
BtrpOperand o)
Check if a given operand is compatible with this parameter.
|
String |
prettySignature()
Get the signature of the parameter without the parameter name.
|
E |
transform(SatConstraintBuilder cb,
BtrPlaceTree tree,
BtrpOperand op)
Transform an operand into the right btrplace parameter.
|
String prettySignature()
String fullSignature()
E transform(SatConstraintBuilder cb, BtrPlaceTree tree, BtrpOperand op)
cb - the associated constrainttree - the tree use to propagate errorsop - the operand to transformnull if the transformation is not possibleboolean isCompatibleWith(BtrPlaceTree t, BtrpOperand o)
t - the tree used to propagate errorso - the operand to testtrue iff the operand is compatibleString getName()
Copyright © 2016 University of Nice-Sophia Antipolis. All Rights Reserved.