Class State
java.lang.Object
org.tweetyproject.action.transitionsystem.State
Represents a state in an action transition system, which is a representation
of an interpretation of all fluent names in an action description.
- Author:
- Sebastian Homann
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isMappedToTrue
(FolAtom fluent) Returns true iff the fluent given is mapped to true by this state.toString()
-
Constructor Details
-
State
Creates a new State with a set of fluents that are mapped to true.- Parameters:
fluents
- The fluents which are mapped to true by this state.
-
-
Method Details
-
isMappedToTrue
Returns true iff the fluent given is mapped to true by this state.- Parameters:
fluent
- an FOL atom- Returns:
- true iff the fluent given is mapped to true by this state.
-
getPositiveFluents
- Returns:
- the set of fluent atoms that are mapped to true by this state.
-
equals
-
hashCode
public int hashCode() -
toString
-