Function AStar._computeCost

Called when computing the cost between two connected points. Note that this function is hidden in the default AStar class.

double _computeCost (
  const(long) from_id,
  const(long) to_id
) nothrow @nogc;