All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----aima.search.Successor
Bundles together a new state, the name of the operator used to get there, and the cost of the operation.
public final class Successor extends java.lang.Object { // Fields 3 protected float cost; protected String operatorName; protected State state; // Constructors 1 public Successor(State, String, float); // Methods 3 public float getCost(); public String getOperatorName(); public State getState(); }
protected State state
Successor State
protected String operatorName
Operation to reach successor
protected float cost
Cost of operation
public Successor(State state, String operatorName, float cost)
Constructor sets all values of successor object.
public String getOperatorName()
Returns string describing operation.
public float getCost()
Returns cost of performing operation.
public State getState()
Returns new state.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4