|
|||||||
| 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.PositiveLiteral
A positive (non-negated) literal.
| Field Summary | |
private Proposition |
proposition
|
| Constructor Summary | |
PositiveLiteral(Proposition theProp)
Construct a positive literal for the given propositional variable. |
|
| Method Summary | |
Proposition |
getProposition()
Return the underlying propositional variable. |
boolean |
getValence()
Returns true (this is a positive 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 PositiveLiteral(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 | ||||||