private static void eightPuzzleAStarDemo() {
System.out
.println("\nEightPuzzleDemo AStar Search (MisplacedTileHeursitic)-->");
try {
Problem problem = new Problem(random1, EightPuzzleFunctionFactory
.getActionsFunction(), EightPuzzleFunctionFactory
.getResultFunction(), new EightPuzzleGoalTest());
Search search = new AStarSearch(new GraphSearch(),
new MisplacedTilleHeuristicFunction());
SearchAgent agent = new SearchAgent(problem, search);