Commit graph

52 commits

Author SHA1 Message Date
Laura Klünder
53a6bdb8cf fix flake8 and isort errors 2017-01-13 21:52:44 +01:00
Laura Klünder
e009acaaf0 fix error when empty areas are somewhere… 2016-12-25 20:38:51 +01:00
Laura Klünder
b091a2838c fix weird routing error. should never have worked anyway… wtf? 2016-12-25 14:58:46 +01:00
Laura Klünder
4905f373ec remove debugging exceptions (but should already be correct this way) 2016-12-25 08:55:38 +01:00
Laura Klünder
0281da4db5 dont show AlreadyThere if it's very unhelpfull 2016-12-25 08:11:28 +01:00
Laura Klünder
63d50560ef fix error 500 if routing within levels fails 2016-12-24 02:42:19 +01:00
Laura Klünder
fa8561b69a change route.describe() call 2016-12-24 01:41:32 +01:00
Laura Klünder
0c98410466 fix error when routing is not possible 2016-12-24 00:33:52 +01:00
Laura Klünder
a3bc60948b fix routing to locationgroups 2016-12-23 22:52:14 +01:00
Laura Klünder
39ada6deb9 fix glitches when routing from/to coordinates 2016-12-23 20:02:40 +01:00
Laura Klünder
283a51f9c3 fix map images in route 2016-12-23 17:17:26 +01:00
Laura Klünder
49757f7c06 correctly implement avoid/exclude 2016-12-21 13:31:56 +01:00
Laura Klünder
d5a52bf9e3 UI error if buildgraph is not yet finished 2016-12-21 11:55:04 +01:00
Laura Klünder
0445dcc464 fix some errors when routing 2016-12-21 11:33:53 +01:00
Laura Klünder
4536245570 avoiding connection types shoud avoid, but not forbid them. 2016-12-21 03:21:31 +01:00
Laura Klünder
25af1c9901 more exceptiosn and edge cases 2016-12-21 01:59:08 +01:00
Laura Klünder
6508d05a3e split route automatically 2016-12-21 01:21:02 +01:00
Laura Klünder
8394521800 fix routing exception if origin and destination can be directly connected 2016-12-21 01:17:40 +01:00
Laura Klünder
f8e6e69b0f add ways from/to origin/destination to final route 2016-12-21 01:01:20 +01:00
Laura Klünder
bbfca9f318 route from point to point and describe points 2016-12-21 00:24:56 +01:00
Laura Klünder
8a9406275b fix location_id of PointLocation 2016-12-20 22:39:28 +01:00
Laura Klünder
1c10ce443a routing support for excludables (not yet in UI) 2016-12-19 21:24:40 +01:00
Laura Klünder
b669e75af1 route descriptions 2016-12-19 15:11:11 +01:00
Laura Klünder
86cf03d6c2 fix error if the graph is not in one piece 2016-12-19 03:26:59 +01:00
Laura Klünder
d2e9e18c2a remove transpose() from graph and level router building as it makes no sense and breaks oneway connections 2016-12-18 13:21:02 +01:00
Laura Klünder
1952479a49 add ElevatorLevel.override_altitude 2016-12-18 00:46:30 +01:00
Laura Klünder
8a1f8bb290 connect elevators and add ctypes elevator_up and elevator_down 2016-12-18 00:26:00 +01:00
Laura Klünder
5183b8fa7d add support for connection types and excluding steps_down or steps_up 2016-12-17 22:15:14 +01:00
Laura Klünder
f6129d621c first stuff for showing the route on the site 2016-12-17 19:25:27 +01:00
Laura Klünder
4f847f4e49 split route into connections 2016-12-17 14:46:15 +01:00
Laura Klünder
988c7b1d11 fix error in _room_transfers in _level_transfers that selected the worst point 2016-12-17 14:18:47 +01:00
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
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
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
23139ecdf8 buildgraph: points with multiple rooms instead of points with no rooms 2016-12-09 20:01:08 +01:00
Laura Klünder
2863b9da8e refactor graph building 2016-12-08 16:58:08 +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
2826e76a0f move everything from c3nav.routing.graph to c3nav.routing 2016-12-05 13:56:54 +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