a_star :: TargetCondition :: defaultinit
# Advanced path conditions with customizable accept states
abstract class TargetCondition[N: Node]
serialize
# Should the pathfinding accept `node` as a goal?
fun accept(node: N): Bool is abstract
# Approximate cost from `node` to an accept state
fun heuristic_cost(node: N, link: Link): Int is abstract
end
lib/a_star/a_star.nit:414,1--423,3