simemobilecity.poi.Poi(topo, tags, p, radius=200, max_dist=500)¶This class defines a point of interest.
| Parameters: |
|
|---|
Methods
__repr__() |
Create a pandas table of the probability data. |
get_G() |
Get OSM graph object. |
get_tags() |
Return OSM tags. |
get_max_dist() |
Get maximal allowed distance from charging station to POI. |
get_nodes() |
Get list of nodes of graph. |
get_p() |
Return complete probability dictionary. |
get_p_day(day) |
Return probability for a day. |
get_p_hour(day, hour) |
Return probability for an hour. |
get_topo() |
Return Topology object. |
set_max_dist(val) |
Set maximal allowed distance from charging station to POI. |
set_p(p) |
Set complete probability dictionary. |
set_p_day(day, val) |
Set probability for a day. |
set_p_hour(day, hour, val) |
Set probability for an hour. |