Manhattan Heuristic function for A-star (A*)

后端 未结 2 1855
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-10 11:28

I found this algorithm here.

I have a problem, I cant seem to understand how to set up and pass my heuristic function.

    static public Path

        
2条回答
  •  广开言路
    2021-02-10 11:49

    Yes, you'd need to modify the code, as there is no possibilty to fit an estimate method in there with two TNodeparameters.

提交回复
热议问题