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 © 2019. All rights reserved.