|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--mit.ai.techniques.Literal
An abstract base class for literals.
| Constructor Summary | |
Literal()
|
|
| Method Summary | |
abstract Proposition |
getProposition()
Return the proposition (variable) for this literal. |
abstract boolean |
getValence()
Check if the literal is positive or negative. |
boolean |
isNegation(Literal l)
This is the negation of l if it has the same proposition and opposite valence. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Literal()
| Method Detail |
public abstract Proposition getProposition()
public abstract boolean getValence()
public boolean isNegation(Literal l)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||