Heuristic<T> constructor
- double estimateTotalCost(
- T
Creates a heuristic from an estimateTotalCost
function.
Implementation
const factory Heuristic(double Function(T) estimateTotalCost) = _Heuristic<T>;
Creates a heuristic from an estimateTotalCost
function.
const factory Heuristic(double Function(T) estimateTotalCost) = _Heuristic<T>;