public static final class

ProblemBuilder.Wizard.ActionState

extends Object
java.lang.Object
   ↳ es.usc.citius.hipster.model.problem.ProblemBuilder.Wizard.ActionState<S>

Class Overview

Step to define the initial state of the problem.

Summary

Nested Classes
class ProblemBuilder.Wizard.ActionState.Uninformed<A> Creates a uninformed problem (a problem without a cost/heuristic evaluator) to be used with uninformed algorithms like DFS, BFS. 
class ProblemBuilder.Wizard.ActionState.WithAction Builder step to define a search problem with actions. 
class ProblemBuilder.Wizard.ActionState.WithoutAction Builder step to define a search problem without actions. 
Public Constructors
ProblemBuilder.Wizard.ActionState(S initialState)
ProblemBuilder.Wizard.ActionState(S initialState, S finalState)
Public Methods
WithAction defineProblemWithExplicitActions()
Create a problem model that uses explicit actions.
WithoutAction defineProblemWithoutActions()
This generates a simple problem model without explicit actions.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ProblemBuilder.Wizard.ActionState (S initialState)

public ProblemBuilder.Wizard.ActionState (S initialState, S finalState)

Public Methods

public WithAction defineProblemWithExplicitActions ()

Create a problem model that uses explicit actions. This forces to implement functions to operate with actions, such as the ActionFunction to obtain applicable actions for a given state, or ActionStateTransitionFunction to apply actions to states in order to obtain new states. Use this function when you want to define explicitly the actions of your problem (for example, in the 8-Puzzle, actions are UP/DOWN/LEFT/RIGHT movements, see example problems for more information).

public WithoutAction defineProblemWithoutActions ()

This generates a simple problem model without explicit actions. Use this when you just want to create a simple StateTransitionFunction for your search problem that defines the reachable states from a given states, without worrying about actions.