Initial interation on writing out MLD partition/cell data
This commit is contained in:
committed by
Patrick Niklaus
parent
757e7ca936
commit
ff0a98196f
@@ -13,7 +13,10 @@ namespace partition
|
||||
|
||||
struct PartitionConfig
|
||||
{
|
||||
PartitionConfig() : requested_num_threads(0) {}
|
||||
PartitionConfig()
|
||||
: requested_num_threads(0)
|
||||
{
|
||||
}
|
||||
|
||||
void UseDefaults()
|
||||
{
|
||||
@@ -34,6 +37,8 @@ struct PartitionConfig
|
||||
compressed_node_based_graph_path = basepath + ".osrm.cnbg";
|
||||
cnbg_ebg_mapping_path = basepath + ".osrm.cnbg_to_ebg";
|
||||
partition_path = basepath + ".osrm.partition";
|
||||
mld_partition_path = basepath + ".osrm.mld_partition";
|
||||
mld_storage_path = basepath + ".osrm.mld_storage";
|
||||
}
|
||||
|
||||
// might be changed to the node based graph at some point
|
||||
@@ -42,6 +47,8 @@ struct PartitionConfig
|
||||
boost::filesystem::path compressed_node_based_graph_path;
|
||||
boost::filesystem::path cnbg_ebg_mapping_path;
|
||||
boost::filesystem::path partition_path;
|
||||
boost::filesystem::path mld_partition_path;
|
||||
boost::filesystem::path mld_storage_path;
|
||||
|
||||
unsigned requested_num_threads;
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ class RecursiveBisection
|
||||
|
||||
const std::vector<BisectionID> &BisectionIDs() const;
|
||||
|
||||
std::uint32_t SCCDepth() const;
|
||||
|
||||
private:
|
||||
BisectionGraph &bisection_graph;
|
||||
RecursiveBisectionState internal_state;
|
||||
|
||||
Reference in New Issue
Block a user