Remove <p> tags
Signed-off-by: Chris Cromer <chris@cromer.cl>
This commit is contained in:
parent
bbf10d7c95
commit
a092dee1e5
@ -53,17 +53,17 @@ public interface PlayerAI extends Runnable, Constants {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The heuristic to get the distance between the start state and the end state
|
* The heuristic to get the distance between the start state and the end state
|
||||||
* <p>
|
*
|
||||||
* Manhattan Distance
|
* Manhattan Distance
|
||||||
* Used for 4 direction movements
|
* Used for 4 direction movements
|
||||||
* h = abs (current_cell.x – goal.x) +
|
* h = abs (current_cell.x – goal.x) +
|
||||||
* abs (current_cell.y – goal.y)
|
* abs (current_cell.y – goal.y)
|
||||||
* <p>
|
*
|
||||||
* Diagonal Distance
|
* Diagonal Distance
|
||||||
* Used for 8 direction movements
|
* Used for 8 direction movements
|
||||||
* h = max { abs(current_cell.x – goal.x),
|
* h = max { abs(current_cell.x – goal.x),
|
||||||
* abs(current_cell.y – goal.y) }
|
* abs(current_cell.y – goal.y) }
|
||||||
* <p>
|
*
|
||||||
* Euclidean Distance
|
* Euclidean Distance
|
||||||
* Used for distance between 2 points
|
* Used for distance between 2 points
|
||||||
* h = sqrt ( (current_cell.x – goal.x)2 +
|
* h = sqrt ( (current_cell.x – goal.x)2 +
|
||||||
|
Loading…
Reference in New Issue
Block a user