aima.search.map
Class BidirectionalMapProblem

java.lang.Object
  extended by aima.search.framework.Problem
      extended by aima.search.map.BidirectionalMapProblem
All Implemented Interfaces:
BidirectionalProblem

public class BidirectionalMapProblem
extends Problem
implements BidirectionalProblem


Field Summary
 
Fields inherited from class aima.search.framework.Problem
goalTest, heuristicFunction, initialState, stepCostFunction, successorFunction
 
Constructor Summary
BidirectionalMapProblem(Map aMap, java.lang.String initialState, java.lang.String goalState)
           
BidirectionalMapProblem(Map aMap, java.lang.String initialState, java.lang.String goalState, HeuristicFunction hf)
           
 
Method Summary
 Problem getOriginalProblem()
           
 Problem getReverseProblem()
           
 
Methods inherited from class aima.search.framework.Problem
getHeuristicFunction, getInitialState, getStepCostFunction, getSuccessorFunction, isGoalState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BidirectionalMapProblem

public BidirectionalMapProblem(Map aMap,
                               java.lang.String initialState,
                               java.lang.String goalState)

BidirectionalMapProblem

public BidirectionalMapProblem(Map aMap,
                               java.lang.String initialState,
                               java.lang.String goalState,
                               HeuristicFunction hf)
Method Detail

getOriginalProblem

public Problem getOriginalProblem()
Specified by:
getOriginalProblem in interface BidirectionalProblem

getReverseProblem

public Problem getReverseProblem()
Specified by:
getReverseProblem in interface BidirectionalProblem