Class ManhattanHeuristic

java.lang.Object
zombie.ai.astar.heuristics.ManhattanHeuristic
All Implemented Interfaces:
AStarHeuristic

public class ManhattanHeuristic
extends java.lang.Object
implements AStarHeuristic
  • Constructor Summary

    Constructors
    Constructor Description
    ManhattanHeuristic​(int int1)  
  • Method Summary

    Modifier and Type Method Description
    float getCost​(TileBasedMap tileBasedMap, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ManhattanHeuristic

      public ManhattanHeuristic​(int int1)
  • Method Details

    • getCost

      public float getCost​(TileBasedMap tileBasedMap, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
      Specified by:
      getCost in interface AStarHeuristic