remove templates from routing algorithms
This commit is contained in:
committed by
Patrick Niklaus
parent
f2c3b9859e
commit
d129b0ef24
@@ -39,8 +39,8 @@ class MatchPlugin : public BasePlugin
|
||||
|
||||
private:
|
||||
mutable SearchEngineData heaps;
|
||||
mutable routing_algorithms::MapMatching<datafacade::BaseDataFacade> map_matching;
|
||||
mutable routing_algorithms::ShortestPathRouting<datafacade::BaseDataFacade> shortest_path;
|
||||
mutable routing_algorithms::MapMatching map_matching;
|
||||
mutable routing_algorithms::ShortestPathRouting shortest_path;
|
||||
const int max_locations_map_matching;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ class TablePlugin final : public BasePlugin
|
||||
|
||||
private:
|
||||
mutable SearchEngineData heaps;
|
||||
mutable routing_algorithms::ManyToManyRouting<datafacade::BaseDataFacade> distance_table;
|
||||
mutable routing_algorithms::ManyToManyRouting distance_table;
|
||||
const int max_locations_distance_table;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,11 +30,11 @@ class TripPlugin final : public BasePlugin
|
||||
{
|
||||
private:
|
||||
mutable SearchEngineData heaps;
|
||||
mutable routing_algorithms::ShortestPathRouting<datafacade::BaseDataFacade> shortest_path;
|
||||
mutable routing_algorithms::ManyToManyRouting<datafacade::BaseDataFacade> duration_table;
|
||||
mutable routing_algorithms::ShortestPathRouting shortest_path;
|
||||
mutable routing_algorithms::ManyToManyRouting duration_table;
|
||||
const int max_locations_trip;
|
||||
|
||||
InternalRouteResult ComputeRoute(const datafacade::BaseDataFacade &facade,
|
||||
InternalRouteResult ComputeRoute(const std::shared_ptr<const datafacade::BaseDataFacade> facade,
|
||||
const std::vector<PhantomNode> &phantom_node_list,
|
||||
const std::vector<NodeID> &trip) const;
|
||||
|
||||
|
||||
@@ -29,10 +29,9 @@ class ViaRoutePlugin final : public BasePlugin
|
||||
{
|
||||
private:
|
||||
mutable SearchEngineData heaps;
|
||||
mutable routing_algorithms::ShortestPathRouting<datafacade::BaseDataFacade> shortest_path;
|
||||
mutable routing_algorithms::AlternativeRouting<datafacade::BaseDataFacade> alternative_path;
|
||||
mutable routing_algorithms::DirectShortestPathRouting<datafacade::BaseDataFacade>
|
||||
direct_shortest_path;
|
||||
mutable routing_algorithms::ShortestPathRouting shortest_path;
|
||||
mutable routing_algorithms::AlternativeRouting alternative_path;
|
||||
mutable routing_algorithms::DirectShortestPathRouting direct_shortest_path;
|
||||
const int max_locations_viaroute;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user