public interface CostFunction
double
cost(PointNode from, PointNode to)
double cost(PointNode from, PointNode to)
from
to