public class State extends Object
| Constructor and Description |
|---|
State(Set<net.sf.tweety.logics.fol.syntax.FOLAtom> fluents)
Creates a new State with a set of fluents that are mapped to true.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<net.sf.tweety.logics.fol.syntax.FOLAtom> |
getPositiveFluents()
Returns the set of fluent atoms that are mapped to true by this state.
|
int |
hashCode() |
boolean |
isMappedToTrue(net.sf.tweety.logics.fol.syntax.FOLAtom fluent)
Returns true iff the fluent given is mapped to true by this state.
|
String |
toString() |
public State(Set<net.sf.tweety.logics.fol.syntax.FOLAtom> fluents)
fluents - The fluents which are mapped to true by this state.public boolean isMappedToTrue(net.sf.tweety.logics.fol.syntax.FOLAtom fluent)
fluent - public Set<net.sf.tweety.logics.fol.syntax.FOLAtom> getPositiveFluents()
Copyright © 2018. All rights reserved.