public GreedySearchYazidi(Vertex _location, Vertex _goal, int _foodCarried, int id,Graph g) {
		super(_location, _goal, _foodCarried, id);
		_powerGraph = Graph.makePowerGraph(g);

		for(Vertex v: _powerGraph.get_vertices())
			if(v.get_num()==_goal.get_num()){
				Dijkstra.computePaths(v,_powerGraph,false);
				break;
			}
		_path = ConvertToReal(g,GeneralSearch());
		if(_path!=null){
			System.out.print("Path of "+this+":");
			for(Vertex v: _path)
				System.out.print(v.getName()+", ");
			System.out.println();
		}else{
			System.out.println(this + " found no solution.");
		}
	}