aequilibrae.paths.assignment_paths#

Classes

AssignmentPaths(table_name[, project])

Class for accessing path files optionally generated during assignment.

AssignmentResultsTable(table_name[, project])

TrafficClassIdentifier(name, id)

class aequilibrae.paths.assignment_paths.AssignmentPaths(table_name: str, project=None)[source]#

Class for accessing path files optionally generated during assignment.

get_path_for_destination(origin: int, destination: int, iteration: int, traffic_class_id: str)[source]#

Return all link ids, i.e. the full path, for a given destination

static get_path_for_destination_from_files(path_o: DataFrame, path_o_index: DataFrame, destination: int)[source]#

for a given path file and path index file, and a given destination, return the path links in o-d order

read_path_file(origin: int, iteration: int, traffic_class_id: str) -> (<class 'pandas.core.frame.DataFrame'>, <class 'pandas.core.frame.DataFrame'>)[source]#
class aequilibrae.paths.assignment_paths.AssignmentResultsTable(table_name: str, project=None)[source]#
get_traffic_class_names_and_id() List[TrafficClassIdentifier][source]#
class aequilibrae.paths.assignment_paths.TrafficClassIdentifier(name: str, id: str)[source]#