Commit graph

49 commits

Author SHA1 Message Date
Laura Klünder
160629f356 put all routers into one dict 2016-12-17 14:09:38 +01:00
Laura Klünder
6536a204db sort imports 2016-12-17 13:26:33 +01:00
Laura Klünder
f0f92caffd finish basic routing 2016-12-17 13:24:42 +01:00
Laura Klünder
83bf37d748 first stuff for routing 2016-12-16 17:38:13 +01:00
Laura Klünder
3269394c42 routing: implement build_routers() (with RoomRouter caching) 2016-12-16 15:06:35 +01:00
Laura Klünder
55cac31bbe add caching to Graph.load() 2016-12-16 11:38:25 +01:00
Laura Klünder
6cc8c27ffa buildgraph: add GraphLevel.arealocation_points 2016-12-16 11:38:07 +01:00
Laura Klünder
90a2b2b3ae fix room router creation 2016-12-14 10:47:47 +01:00
Laura Klünder
07f15aa6ce drawgraph: support for new graph format 2016-12-14 01:13:20 +01:00
Laura Klünder
18759192e4 buildgraph: fix building room matrix 2016-12-14 01:13:06 +01:00
Laura Klünder
a7f85ee2df buildgraph: build collections matrix for each room and save it 2016-12-14 00:39:46 +01:00
Laura Klünder
2bb89f4c1a buildgraph: dont double-collect points 2016-12-14 00:39:32 +01:00
Laura Klünder
587eb41592 buildgraph: serialize GraphPoint.room 2016-12-13 23:32:19 +01:00
Laura Klünder
06ad6a6e31 buildgraph: new internal data handling, new serialization 2016-12-13 23:00:38 +01:00
Laura Klünder
343a3983eb remove debug break 2016-12-10 19:34:36 +01:00
Laura Klünder
3eaf5ed17e buildgraph: improve point placement 2016-12-10 16:24:48 +01:00
Laura Klünder
f2563db8bf buildgraph: improve point placement and use isolated areas for faster building 2016-12-10 14:58:53 +01:00
Laura Klünder
61f7ad0ee8 buildgraph: remove Point.connect_to() 2016-12-10 12:19:31 +01:00
Laura Klünder
57ed2ec368 refactor graph code 2016-12-10 12:07:52 +01:00
Laura Klünder
e6978c6e61 remove debug comment 2016-12-09 20:05:09 +01:00
Laura Klünder
23139ecdf8 buildgraph: points with multiple rooms instead of points with no rooms 2016-12-09 20:01:08 +01:00
Laura Klünder
cfd6f51978 improve graph building for complicated stair situations 2016-12-09 02:50:02 +01:00
Laura Klünder
09ee868a73 buildgraph: dont connect everything within narrow areas… we do that later anyway 2016-12-08 22:24:04 +01:00
Laura Klünder
06aec21669 fix graph building error if only one stair is present on a level 2016-12-08 21:13:57 +01:00
Laura Klünder
1ed107ba4b remove debug output 2016-12-08 18:21:55 +01:00
Laura Klünder
6906e1540c buildgraph: add points for steps 2016-12-08 18:12:07 +01:00
Laura Klünder
2863b9da8e refactor graph building 2016-12-08 16:58:08 +01:00
Laura Klünder
00193f7e11 add heavy caching to mapdata api 2016-12-07 16:11:33 +01:00
Laura Klünder
f0a2f5e058 better graph building (routing to be fixed) using points with no room or no level 2016-12-06 19:39:42 +01:00
Laura Klünder
46ef2a6129 more helpfull "door with <2 rooms" message 2016-12-05 15:04:12 +01:00
Laura Klünder
2826e76a0f move everything from c3nav.routing.graph to c3nav.routing 2016-12-05 13:56:54 +01:00
Laura Klünder
7b792ace8b calculate connection distances 2016-12-05 13:49:23 +01:00
Laura Klünder
82a859e958 buildgraph: show build time 2016-12-05 13:46:33 +01:00
Laura Klünder
762cb6e317 add graph router 2016-12-05 13:39:22 +01:00
Laura Klünder
89ed7e25f7 call Graph.load() instead graph.load() 2016-12-05 12:15:04 +01:00
Laura Klünder
a611e32682 fix typo 2016-12-05 12:14:07 +01:00
Laura Klünder
a7ad682cbe improve graph building, save graph after building it and split of drawgraph 2016-12-05 12:09:43 +01:00
Laura Klünder
9369dad3a2 remove unneeded code 2016-12-04 14:09:44 +01:00
Laura Klünder
8c60045382 buildgraph: fix filling graph in narrow areas 2016-12-04 14:03:54 +01:00
Laura Klünder
59143db553 buildgraph: add options whether to draw the graph 2016-12-04 14:03:11 +01:00
Laura Klünder
516d7921ce buildgraph: add support vor levelconnectors 2016-12-04 12:50:32 +01:00
Laura Klünder
3779398d16 use assert_multipolygon 2016-12-04 12:07:40 +01:00
Laura Klünder
08c65d431d remove debug output 2016-12-04 02:37:54 +01:00
Laura Klünder
a54a85da3b in render_full immediate levels now cast shadows 2016-12-04 02:36:57 +01:00
Laura Klünder
834d6f0064 refactor c3nav.routing 2016-12-03 19:09:39 +01:00
Laura Klünder
575af6c06e buildgraph: autoconnect points 2016-12-03 18:33:06 +01:00
Laura Klünder
68773adcc2 buildgraph: add doors and connections 2016-12-03 17:34:00 +01:00
Laura Klünder
87eb8dc380 refactor and improve room point generator 2016-12-03 14:51:21 +01:00
Laura Klünder
211ef767db first stuff for graph building – collecting points 2016-12-02 23:32:19 +01:00