Commit Graph

145 Commits

Author SHA1 Message Date
d9472757f5 Merge branch 'gdb10lt'
This breaks "test-rivers" for Nemunas.
2021-05-19 22:57:50 +03:00
2c7be0989a split bendattrs to bends and attrs
this makes code easier to reason about, and some lines shorter (thus
removing splitting requirement).
2021-05-19 22:57:50 +03:00
9b1f0b0b4b explain flow chart 2021-05-19 22:57:50 +03:00
5d9f85313d decrease exaggeration enthusiasm 2021-05-19 22:57:49 +03:00
b7a9d559e2 bring back working wm.sql 2021-05-19 22:57:49 +03:00
e20781aa85 debugging exaggeration 2021-05-19 22:57:49 +03:00
7faaa88309 rename to enthusiasm 2021-05-19 22:57:49 +03:00
2d9242287b reduce exaggeration step 2021-05-19 22:57:49 +03:00
12b0784840 merge wm_isolated_bends and wm_bend_attrs 2021-05-19 22:57:49 +03:00
63bde6c7f5 split bendattrs to bends and attrs 2021-05-19 22:57:49 +03:00
1a4be957e3 Adaptive bend exaggeration 2021-05-19 22:57:49 +03:00
b613a78fa5 update estimations 2021-05-19 22:57:49 +03:00
772da3076f update docstring 2021-05-19 22:57:49 +03:00
50614c6e24 remove some debug statements 2021-05-19 22:57:49 +03:00
08572023fd exaggeration: skip intersecting bends 2021-05-19 22:57:49 +03:00
b2453ce410 wip: intersect_patience 2021-05-19 22:57:49 +03:00
4c57b8f1d4 remove debug statements 2021-05-19 22:57:49 +03:00
c4f92296c0 use smaller number of rivers during development 2021-05-19 22:57:49 +03:00
cd77419fac exaggeration 2021-05-19 22:57:49 +03:00
9a41fee57d document adjusted size 2021-05-19 22:57:49 +03:00
701239087a fix wm_exaggerate
st_union drops M; use st_collect instead.
2021-05-19 22:57:49 +03:00
95e515b5cc wip wm_exaggerate 2021-05-19 22:57:49 +03:00
69f0878bb6 move size calculation to its own function 2021-05-19 22:57:49 +03:00
c33e1c3e26 wip start wm_exaggeration 2021-05-19 22:57:49 +03:00
ee1e490ddb CI section 2021-05-19 22:57:49 +03:00
ad0c1c0f5c add parameter table 2021-05-19 22:57:49 +03:00
a14ae8a65f indentation 2021-05-19 22:57:49 +03:00
4df7ab4784 better wm_debug 2021-05-19 22:57:49 +03:00
fae914d2ef wm_elimination bugfixes 2021-05-19 22:57:49 +03:00
0da5f8433c retain zero-sized bends 2021-05-19 22:57:49 +03:00
8c10fbecfb always order wm_debug by insertion time 2021-05-19 22:57:49 +03:00
86ea42f6cf add dbggen everywhere 2021-05-19 22:57:49 +03:00
cf2a4962e6 wm_elimination does not break existing tests 2021-05-19 22:57:49 +03:00
675d228b50 prefix functions and types with wm_ 2021-05-19 22:57:49 +03:00
077738c28c wip elimination 2021-05-19 22:57:49 +03:00
51919df86e better formulae 2021-05-19 22:57:49 +03:00
6d7b0445d8 tests-integration 2021-05-19 22:57:48 +03:00
55b9d7db8f better estimation 2021-05-19 22:57:48 +03:00
d31e678268 estimate how long the algo will take 2021-05-19 22:57:48 +03:00
5d430d34d1 construct the polygon only if there are enough points 2021-05-19 22:57:48 +03:00
6cefc87b19 selfcrossing-1-rev does not overlap 2021-05-19 22:57:48 +03:00
9b36dc5cb2 remove some reundant initializations 2021-05-19 22:57:47 +03:00
1ff38c12e9 Revert "remove redundant initializations"
This reverts commit 56c5cd10d7a8d0f45c7be028fa0688a8444e2a58.
2021-05-19 22:57:47 +03:00
50df7bc21c remove redundant initializations 2021-05-19 22:57:47 +03:00
ff1dd7af96 shorten tests a little 2021-05-19 22:57:47 +03:00
1c7d22bb99 less variable declarations 2021-05-19 22:57:47 +03:00
523f00c8c9 quit earlier after mutating a bend 2021-05-19 22:57:47 +03:00
56c92b71d9 remove redundant commentary 2021-05-19 22:57:47 +03:00
5491f574e6 move section of self_crossing to a separate function 2021-05-19 22:57:47 +03:00
d390d373a9 self-crossing bugfix 2021-05-19 22:57:47 +03:00