# example
from main import PathFinder
cams_path = 'cams.csv'
boarders = [55.756216, 55.768715, 37.596696, 37.628496]
G_path = 'editedgraph.graphml'
pf = PathFinder(boarders, cams_path, G_path)
origin = [55.764661, 37.604708]
end = [55.759570, 37.625882]
pf.set_weights('private')
path = pf.get_path_by_points([origin, end])
pf.plot_path(path)
pf.set_weights('safe')
path = pf.get_path_by_points([origin, end])
pf.plot_path(path)
pf.set_weights('safe', 0.2)
path = pf.get_path_by_points([origin, end])
pf.plot_path(path)
-
Notifications
You must be signed in to change notification settings - Fork 2
Tialo/S-Path
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published