|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.hkust.afchecker.inferenceEngine.Constraint
edu.hkust.afchecker.inferenceEngine.DeterministicConstraint
public class DeterministicConstraint
Author: Andrew
File history: Created on July 22, 2011. Last update on Sept. 16, 2012
Description: A deterministic constraint describes the internal correlation between two atoms. A deterministic constraint can be derived by static inference.
Constructor Summary | |
---|---|
DeterministicConstraint(Atom la,
Atom ra)
constructor |
Method Summary | |
---|---|
void |
disableCombination(boolean a,
boolean b)
check whether latom = a && ratom = b is impossible |
void |
enableCombination(boolean a,
boolean b)
check whether latom = a && ratom = b is possible |
boolean |
isCombinationPossible(boolean a,
boolean b)
check whether latom = a && ratom = b is possible |
Methods inherited from class edu.hkust.afchecker.inferenceEngine.Constraint |
---|
getLeftAtom, getRightAtom, setLeftAtom, setRightAtom |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeterministicConstraint(Atom la, Atom ra)
la
- the left atomra
- the right atomMethod Detail |
---|
public void enableCombination(boolean a, boolean b)
a
- b
- public void disableCombination(boolean a, boolean b)
a
- b
- public boolean isCombinationPossible(boolean a, boolean b)
a
- b
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |