Commit graph

19 commits

Author SHA1 Message Date
Manuel Fuhr
dd896347a2 Fix newly detected violations from PMD 7 2024-04-03 22:42:30 +02:00
simdens
2f1422352e
Add "DIVIDE" command and new "maxslope" and "maxslopecost" parameters (#642)
* Added 'DIV' expression for profiles

* Added 'uphillmaxbuffercost' and 'downhillmaxbuffercost' parameter. This makes it possible to penalize very steep path sections

* Added 'div by zero' check in BExpression.java DIV command

* Simplify maxbuffercostdiv logic

* Added documentation about new features

* Fix typo

* Rename new DIV command

* Redesign the new commands
- Allow to set both the maxslope and the maxslopecost in the way context separately for uphill and downhill
- New names for the new commands that better reflect what they actually do

* Adapt the profile developers guide to the latest changes

* Improve wording

---------

Co-authored-by: quaelnix <122357328+quaelnix@users.noreply.github.com>
2024-01-17 16:34:52 +01:00
moving-bits
0d89754ecf Fix minor spelling issues 2023-07-15 16:31:34 +02:00
Arndt Brenschede
65953faec0 constant expressions: reworks keyvalue-injection, unit-test 2023-07-05 19:07:14 +02:00
Arndt Brenschede
de0acb77c5 optimizing constant expressions in profile parsing 2023-06-25 12:51:10 +02:00
Manuel Fuhr
f8d6aa7906 Fix checkstyle errors 2022-07-25 06:15:47 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
afischerdev
d788dddcfa add variable values #233 2021-10-06 16:50:57 +02:00
Arndt Brenschede
d4f592732f access to way-context vars from (no caching) node-context 2017-07-02 22:55:54 +02:00
Arndt Brenschede
9d00b0181e performance 2016-09-09 19:42:00 +02:00
Arndt
f70dd3c3ac removed some old stuff, added profiler, minor performance tuning 2016-08-20 18:53:50 +02:00
Arndt
8609c1f47b 1.4.1 locus roundabout fix, 3 more operators 2016-05-09 22:05:40 +02:00
Arndt
23968b2a5b voice hints update 2016-05-05 12:46:27 +02:00
Arndt
91c809e05c Traffic simulation patch 2015-08-28 16:39:41 +02:00
Arndt
0316c41924 explicit classifier for initial cost 2015-04-03 13:39:38 +02:00
Arndt
6811ea524e profile syntax: syntactic sugar 2015-03-01 13:04:11 +01:00
Arndt
8676f5e081 if-then-else syntax plus optional brackets 2015-02-25 09:32:07 +01:00
Arndt Brenschede
1aa62b0b71 or-syntax for lookup matches 2015-02-23 20:47:55 +01:00
Arndt Brenschede
91e62f1164 initial commit of BRouter Version 0.98 2014-01-18 15:29:05 +01:00