Class Transition
java.lang.Object
org.tweetyproject.action.transitionsystem.Transition
Represents a transition in an action transition system, which is a
representation of the execution of an action which causes a state change from
a source state to a target state.
- Author:
- Sebastian Homann
-
Constructor Summary
ConstructorDescriptionTransition
(State from, FolAction action, State to) Creates a new transition with the given parameters. -
Method Summary
-
Constructor Details
-
Transition
Creates a new transition with the given parameters.- Parameters:
from
- the state from which this transition origins.action
- the action that causes this transition.to
- the state representing the consequence of the execution of action.
-
-
Method Details
-
getFrom
Returns the source state of this transition.- Returns:
- the source state of this transition.
-
getTo
Returns the target state of this transition.- Returns:
- the target state of this transition.
-
getAction
Returns the action that causes this transition.- Returns:
- the action that causes this transition.
-
toString
-