6.5.1. aequilibrae.Graph¶
-
class
aequilibrae.Graph¶ Bases:
objectGraph class
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
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_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
-
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
-