|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--mit.ai.techniques.Literal
|
+--mit.ai.techniques.NegativeLiteral
A negative literal.
| Field Summary | |
private Proposition |
proposition
|
| Constructor Summary | |
NegativeLiteral(Proposition theProp)
Construct a negative literal for the given propositional variable. |
|
| Method Summary | |
Proposition |
getProposition()
Return the underlying propositional variable. |
boolean |
getValence()
Returns false (this is a negative literal). |
java.lang.String |
toString()
Returns the literal as a string. |
| Methods inherited from class mit.ai.techniques.Literal |
isNegation |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
private Proposition proposition
| Constructor Detail |
public NegativeLiteral(Proposition theProp)
| Method Detail |
public Proposition getProposition()
getProposition in class Literalpublic boolean getValence()
getValence in class Literalpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||