package edu.uky.ai.planning.ex;

import edu.uky.ai.SearchBudget;
import edu.uky.ai.planning.ss.ForwardPlanner;
import edu.uky.ai.planning.ss.StateSpaceProblem;

/**
 * A planner that uses simple breadth first search through the space of states.
 * 
 * @author Your Name
 */
public class ExamplePlanner extends ForwardPlanner {

	/**
	 * Constructs a new breadth first search planner. You should change the
	 * string below from "Example" to your ID. You should also change the name
	 * of this class. In Eclipse, you can do that easily by right-clicking on
	 * this file (ExamplePlanner.java) in the Package Explorer and choosing
	 * Refactor > Rename.
	 */
	public ExamplePlanner() {
		super("Example");
	}

	@Override
	protected BreadthFirstSearch makeForwardSearch(StateSpaceProblem problem, SearchBudget budget) {
		return new BreadthFirstSearch(problem, budget);
	}
}
