public final class

ProblemBuilder.Wizard.ActionState.WithAction

extends Object
java.lang.Object
   ↳ es.usc.citius.hipster.model.problem.ProblemBuilder.Wizard.ActionState.WithAction

Class Overview

Builder step to define a search problem with actions.

Summary

Nested Classes
class ProblemBuilder.Wizard.ActionState.WithAction.Action<A> Builder step to select the transition function of a action-explicit search problem. 
Public Methods
<A> Action<A> useActionFunction(ActionFunction<A, S> actionFunction)
Select the action function that returns the applicable actions for each state in your problem.
<A> Uninformed<A> useTransitionFunction(TransitionFunction<A, S> transitionFunction)
Use a transition function that computes all the actions/states that are reachable from a given state.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Action<A> useActionFunction (ActionFunction<A, S> actionFunction)

Select the action function that returns the applicable actions for each state in your problem.

Parameters
actionFunction action function to be used.

public Uninformed<A> useTransitionFunction (TransitionFunction<A, S> transitionFunction)

Use a transition function that computes all the actions/states that are reachable from a given state. The function returns a set of Transition with the action and the new resultant state. If you prefer to define actions separately, use useActionFunction instead.

Parameters
transitionFunction transition function.