public abstract class

StateTransitionFunction

extends Object
implements TransitionFunction<A, S>
java.lang.Object
   ↳ es.usc.citius.hipster.model.function.impl.StateTransitionFunction<S>

Class Overview

Implementation of a TransitionFunction which generates an java.lang.Iterable of Transition which are instantiated in a lazy way, as the elements are iterated by the algorithms, and not in advance. This class is used for problems without explicit actions.

Summary

Public Constructors
StateTransitionFunction()
Public Methods
abstract Iterable<S> successorsOf(S state)
Obtain the successor states of a given one.
Iterable<Transition<Void, S>> transitionsFrom(S state)
Generate the outgoing transitions from a state.
[Expand]
Inherited Methods
From class java.lang.Object
From interface es.usc.citius.hipster.model.function.TransitionFunction

Public Constructors

public StateTransitionFunction ()

Public Methods

public abstract Iterable<S> successorsOf (S state)

Obtain the successor states of a given one.

Parameters
state current states
Returns
  • successor states of the current

public Iterable<Transition<Void, S>> transitionsFrom (S state)

Generate the outgoing transitions from a state.

Parameters
state current state
Returns
  • set of transitions from the current state