Mapper constructor

Mapper(
  1. Calculator calculator,
  2. Filter filter,
  3. EpitaphGraph graph,
  4. Building building,
)

Implementation

factory Mapper(Calculator calculator, Filter filter, EpitaphGraph graph,
    Building building) {
  return Mapper._(calculator, filter, graph, Dijkstra(graph.graph), building);
}