Add max-cell-sizes option to partitioner
This commit is contained in:
@@ -3,7 +3,7 @@ Feature: Multi level routing
|
||||
|
||||
Background:
|
||||
Given the profile "testbot"
|
||||
And the partition extra arguments "--min-cell-size 4 --small-component-size 1"
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4 16 64 --"
|
||||
|
||||
Scenario: Testbot - Multi level routing check partition
|
||||
Given the node map
|
||||
@@ -31,7 +31,7 @@ Feature: Multi level routing
|
||||
| be | primary |
|
||||
|
||||
And the data has been extracted
|
||||
When I run "osrm-partition --min-cell-size 4 --small-component-size 1 {processed_file}"
|
||||
When I run "osrm-partition --max-cell-sizes 4 16 --small-component-size 1 {processed_file}"
|
||||
Then it should exit successfully
|
||||
And stdout should not contain "level 1 #cells 1 bit size 1"
|
||||
|
||||
@@ -57,7 +57,6 @@ Feature: Multi level routing
|
||||
| cm | primary |
|
||||
| hj | primary |
|
||||
| kp | primary |
|
||||
And the partition extra arguments "--min-cell-size 4 --small-component-size 1"
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
@@ -88,7 +87,6 @@ Feature: Multi level routing
|
||||
| dim | primary |
|
||||
| glr | primary |
|
||||
| ot | secondary |
|
||||
And the partition extra arguments "--min-cell-size 4 --small-component-size 1"
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
@@ -113,6 +111,7 @@ Feature: Multi level routing
|
||||
│ │
|
||||
l───k
|
||||
"""
|
||||
And the partition extra arguments "--small-component-size 1 --max-cell-sizes 4 16 --"
|
||||
And the ways
|
||||
| nodes | maxspeed |
|
||||
| abcda | 5 |
|
||||
@@ -124,7 +123,6 @@ Feature: Multi level routing
|
||||
| fi | 15 |
|
||||
| gi | 15 |
|
||||
| hf | 100 |
|
||||
And the partition extra arguments "--min-cell-size 4 --small-component-size 1"
|
||||
|
||||
When I route I should get
|
||||
| from | to | route | time |
|
||||
|
||||
Reference in New Issue
Block a user