Class NamedAction

java.lang.Object
org.tweetyproject.machinelearning.rl.mdp.NamedAction
All Implemented Interfaces:
Action

public class NamedAction extends Object implements Action
An action in a Markov Decision Process that is solely characterized through its name.
Author:
Matthias Thimm
  • Constructor Details

    • NamedAction

      public NamedAction(String name)
      Creates a new NamedAction.
      Parameters:
      name - some name
  • Method Details

    • getName

      public String getName()
      Returns the name of this action
      Returns:
      the name of this action
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object