Package | Description |
---|---|
com.example.sulemaia.Fragment | |
com.example.sulemaia.Interface | |
com.example.sulemaia.Thread |
Modifier and Type | Field and Description |
---|---|
private HeuristicPathTree |
AStar.tree |
private HeuristicPathTree |
FirstBest.tree |
private HeuristicPathTree |
UniformCost.tree |
Modifier and Type | Method and Description |
---|---|
void |
AStar.drawPath(HeuristicPathTree heuristicPathTree)
Method to control the whole drawing of the path once the algorithm finishes.
|
void |
FirstBest.drawPath(HeuristicPathTree heuristicPathTree)
Drawing of the shortest path followed by the algorithm, just after it has finished.
|
void |
UniformCost.drawPath(HeuristicPathTree heuristicPathTree)
Method to control the whole drawing of the path once the algorithm finishes.
|
Modifier and Type | Method and Description |
---|---|
void |
iAStar.drawPath(HeuristicPathTree heuristicPathTree)
Method to draw the path once the algorithm has finished.
|
void |
iUniformCost.drawPath(HeuristicPathTree heuristicPathTree)
Method to draw the path once the algorithm has finished.
|
void |
iFirstTheBest.drawPath(HeuristicPathTree heuristicPathTree)
Method to draw the path once the algorithm has finished.
|
Modifier and Type | Field and Description |
---|---|
private HeuristicPathTree |
ResolverUniformCostThread.tree |
private HeuristicPathTree |
ResolverAStarThread.tree |
private HeuristicPathTree |
ResolverFirstBestThread.tree |
Modifier and Type | Method and Description |
---|---|
protected HeuristicPathTree |
ResolverUniformCostThread.doInBackground(Integer... values)
In the background execution of the thread, we are actually executing the main algorithm.
|
protected HeuristicPathTree |
ResolverAStarThread.doInBackground(Integer... values)
In the background execution of the thread, we execute the actual algorithm.
|
protected HeuristicPathTree |
ResolverFirstBestThread.doInBackground(Integer... values)
In the background execution of the thread, we execute the actual algorithm.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResolverUniformCostThread.onPostExecute(HeuristicPathTree heuristicPathTree)
Whenever the algorithm finishes, we have to finish the thread.
|
protected void |
ResolverAStarThread.onPostExecute(HeuristicPathTree heuristicPathTree)
Once the algorithm has finished, we actually need to end the thread and draw the path over the UI.
|
protected void |
ResolverFirstBestThread.onPostExecute(HeuristicPathTree heuristicPathTree)
Once the algorithm has finished, we actually need to end the thread and draw the path over the UI.
|