public interface

ActionFunction

es.usc.citius.hipster.model.function.ActionFunction<A, S>

Class Overview

Interface that defines an action function that computes applicable actions for a given state. For example, in the 8-Puzzle problem, the action function for a configuration of the board returns all the possible movements (UP, DOWN, RIGHT, LEFT) depending on the empty tile position.

Summary

Public Methods
abstract Iterable<A> actionsFor(S state)
Compute a set of applicable actions for the given state

Public Methods

public abstract Iterable<A> actionsFor (S state)

Compute a set of applicable actions for the given state

Returns
  • Set of applicable actions