aequilibrae.paths.Graph#
- class aequilibrae.paths.Graph(*args, **kwargs)[source]#
-
Methods
__init__(*args, **kwargs)available_skims()Returns graph fields that are available to be set as skims
default_types(tp)Returns the default integer and float types used for computation
exclude_links(links)Excludes a list of links from a graph by setting their B node equal to their A node
load_from_disk(filename)Loads graph from disk
prepare_graph(centroids)Prepares the graph for a computation for a certain set of centroids
save_compressed_correspondence(path, ...)Save graph and nodes_to_indices to disk
save_to_disk(filename)Saves graph to disk
set_blocked_centroid_flows(block_centroid_flows)Chooses whether we want to block paths to go through centroids or not.
set_graph(cost_field)Sets the field to be used for path computation
set_skimming(skim_fields)Sets the list of skims to be computed