aequilibrae.paths.connectivity_analysis#

Classes

ConnectivityAnalysis(graph[, origins, project])

class aequilibrae.paths.connectivity_analysis.ConnectivityAnalysis(graph, origins=None, project=None)[source]#
>>> from aequilibrae.paths.connectivity_analysis import ConnectivityAnalysis

>>> project = create_example(project_path)

>>> network = project.network
>>> network.build_graphs()

>>> graph = network.graphs['c']
>>> graph.set_graph(cost_field="distance")
>>> graph.set_blocked_centroid_flows(False)

>>> conn_test = ConnectivityAnalysis(graph)
>>> conn_test.execute()

# The connectivity tester report as a Pandas DataFrame
>>> disconnected = conn_test.disconnected_pairs

>>> project.close()
doWork()[source]#
execute()[source]#

Runs the skimming process as specified in the graph

set_cores(cores: int) None[source]#

Sets number of cores (threads) to be used in computation

Value of zero sets number of threads to all available in the system, while negative values indicate the number of threads to be left out of the computational effort.

Resulting number of cores will be adjusted to a minimum of zero or the maximum available in the system if the inputs result in values outside those limits

Arguments:

cores (int): Number of cores to be used in computation

connectivity = <aequilibrae.utils.python_signal.PythonSignal object>#