Commit Graph

144 Commits

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