|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectagg.util.csp.BinaryConstraint
agg.xt_basis.Constraint_InheritTarget
public class Constraint_InheritTarget
Field Summary |
---|
Fields inherited from class agg.util.csp.BinaryConstraint |
---|
itsVar1, itsVar2, itsWeight |
Constructor Summary | |
---|---|
Constraint_InheritTarget(Variable tar,
Variable arc)
|
Method Summary | |
---|---|
void |
clear()
|
boolean |
execute()
Return true iff the current instance of tar is the target
object of the instance of arc . |
Methods inherited from class agg.util.csp.BinaryConstraint |
---|
activate, deactivate, getCause, getVar1, getVar2, getWeight, isApplicable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Constraint_InheritTarget(Variable tar, Variable arc)
Method Detail |
---|
public void clear()
clear
in class BinaryConstraint
public final boolean execute()
tar
is the target
object of the instance of arc
.
Pre: (1) tar.getInstance(), arc.getInstance() instanceof GraphObject.
execute
in class BinaryConstraint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |