congestion_coverage_plan.map_utils.OccupancyMap.OccupancyMap
- class congestion_coverage_plan.map_utils.OccupancyMap.OccupancyMap(cliffPredictor, occupancy_levels=['zero', 'one', 'two'], people_cost=10, logger=None)
Bases:
TopologicalMap- __init__(cliffPredictor, occupancy_levels=['zero', 'one', 'two'], people_cost=10, logger=None)
Methods
__init__(cliffPredictor[, occupancy_levels, ...])add_edge(start_id, end_id)add_edge_from_positions(start_posx, ...)add_edge_limit(edge_id, limit)add_edge_traverse_time(edge_id, ...)add_edge_with_id(edge_id, start_id, end_id)add_edge_with_id_and_positions(edge_id, ...)add_edge_with_incremental_id(start_id, end_id)add_vertex(posx, posy)add_vertex_limit(vertex_id, limit)add_vertex_with_id(vertex_id, posx, posy)assign_people_to_areas(time)assign_people_to_edge(time, edge_id)calculate_average_edge_occupancy(...)calculate_average_edge_occupancy_from_data(...)calculate_average_edge_occupancy_with_times(...)calculate_average_edge_traverse_times(...)calculate_average_edge_traverse_times_with_time_list(...)calculate_current_occupancies(time)calculate_edge_probabilities(time, ...)calculate_poisson_binomial(time)calculate_track_predictions(track, time, ...)compute_edges_from_vertex()display_topological_map()find_edge_from_id(edge_id)find_edge_from_position(start, end)find_edge_limit(edge_id)find_vertex_from_id(vertex_id)find_vertex_from_position(posx, posy)find_vertex_limit(vertex_id)get_all_edges_from_vertex(vertex_id)get_current_occupancies(time)get_edge_current_occupancy(time, edge)get_edge_expected_occupancy(time, edge_id)get_edge_traverse_time(edge_id)get_edges()get_edges_from_vertex(vertex_id)get_edges_from_vertex_with_edge_class(vertex_id)get_goal_vertices_list()get_name()get_occupancies(time)get_occupancy_levels()get_people_collision_cost()get_tracks_by_time(time)get_vertex(vertex_id)get_vertex_distance(vertex1_name, vertex2_name)get_vertex_expected_occupancy(time, vertex_id)get_vertices()get_vertices_list()is_goal_vertex(vertex_id)load_occupancy_map(filename)load_topological_map(filename)plot_predicted_positions(time)plot_topological_map(img_path, fig_size, ...)plot_tracked_people()plot_tracks_on_map()poisson_binomial(probabilities)predict_occupancies(time_now, time_to_predict)predict_occupancies_for_edge(time, edge_id)predict_people_positions(time_now, ...)predict_person_positions(person_predictions, ...)print_people_in_areas(time)print_poisson_binomial(time)remove_edge_expected_occupancy(time, edge_id)remove_verted_expected_occupancy(time, vertex_id)reset_occupancies()save_figure(filename)save_occupancy_map(filename)save_topological_map(filename)set_edge_limits(edge_id, limits_class, ...)set_logger(logger)set_name(name)set_vertex_as_goal_from_id(vertex_id)set_vertex_as_goal_from_position(posx, posy)