wip
This commit is contained in:
parent
56361e2ec6
commit
e9496585ac
2
.github/workflows/osrm-backend.yml
vendored
2
.github/workflows/osrm-backend.yml
vendored
@ -676,7 +676,7 @@ jobs:
|
|||||||
path: pr
|
path: pr
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install "conan<2.0.0" "requests==2.31.0" "numpy==1.26.4" "scipy==1.13.1"
|
python3 -m pip install "conan<2.0.0" "requests==2.31.0" "numpy==1.26.4"
|
||||||
sudo apt-get update -y && sudo apt-get install ccache
|
sudo apt-get update -y && sudo apt-get install ccache
|
||||||
- name: Prepare data
|
- name: Prepare data
|
||||||
run: |
|
run: |
|
||||||
|
@ -254,7 +254,7 @@ try
|
|||||||
<< std::endl;
|
<< std::endl;
|
||||||
};
|
};
|
||||||
|
|
||||||
for (auto radius : std::vector<std::optional<double>>{std::nullopt, 5.0, 10.0, 15.0, 30.0})
|
for (auto radius : std::vector<std::optional<double>>{std::nullopt, 10.0})
|
||||||
{
|
{
|
||||||
run_benchmark(radius);
|
run_benchmark(radius);
|
||||||
}
|
}
|
||||||
|
@ -96,12 +96,6 @@ try
|
|||||||
RouteParameters::OverviewType::Full,
|
RouteParameters::OverviewType::Full,
|
||||||
true,
|
true,
|
||||||
std::nullopt},
|
std::nullopt},
|
||||||
{"1000 routes, 2 coordinates, no alternatives, overview=full, steps=true",
|
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
|
||||||
RouteParameters::OverviewType::Full,
|
|
||||||
true,
|
|
||||||
std::nullopt},
|
|
||||||
{"1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true",
|
{"1000 routes, 2 coordinates, 3 alternatives, overview=full, steps=true",
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
||||||
@ -115,40 +109,12 @@ try
|
|||||||
RouteParameters::OverviewType::False,
|
RouteParameters::OverviewType::False,
|
||||||
false,
|
false,
|
||||||
std::nullopt},
|
std::nullopt},
|
||||||
{"1000 routes, 2 coordinates, no alternatives, overview=false, steps=false",
|
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
|
||||||
RouteParameters::OverviewType::False,
|
|
||||||
false,
|
|
||||||
std::nullopt},
|
|
||||||
{"1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false",
|
{"1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false",
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
||||||
RouteParameters::OverviewType::False,
|
RouteParameters::OverviewType::False,
|
||||||
false,
|
false,
|
||||||
3},
|
3},
|
||||||
{"1000 routes, 3 coordinates, no alternatives, overview=false, steps=false, radius=750",
|
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
|
||||||
{FloatLongitude{7.421844922513342}, FloatLatitude{43.73690777888953}},
|
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
|
||||||
RouteParameters::OverviewType::False,
|
|
||||||
false,
|
|
||||||
std::nullopt,
|
|
||||||
750},
|
|
||||||
{"1000 routes, 2 coordinates, no alternatives, overview=false, steps=false, radius=750",
|
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
|
||||||
RouteParameters::OverviewType::False,
|
|
||||||
false,
|
|
||||||
std::nullopt,
|
|
||||||
750},
|
|
||||||
{"1000 routes, 2 coordinates, 3 alternatives, overview=false, steps=false, radius=750",
|
|
||||||
{{FloatLongitude{7.437602352715465}, FloatLatitude{43.75030522209604}},
|
|
||||||
{FloatLongitude{7.412303912230966}, FloatLatitude{43.72851046529198}}},
|
|
||||||
RouteParameters::OverviewType::False,
|
|
||||||
false,
|
|
||||||
3,
|
|
||||||
750}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user