aequilibrae.paths.results.assignment_results#
Classes
Assignment result holder for a single |
|
Assignment results base class for traffic and transit assignments. |
|
Assignment result holder for a single |
- class aequilibrae.paths.results.assignment_results.AssignmentResults[source]#
Assignment result holder for a single
TrafficClass
with multiple user classes- get_load_results() DataFrame [source]#
Translates the assignment results from the graph format into the network format
- Returns:
dataset (
pd.DataFrame
): Pandas DataFrame data with the traffic class assignment results
- prepare(graph: Graph, matrix: AequilibraeMatrix) None [source]#
Prepares the object with dimensions corresponding to the assignment matrix and graph objects
- Arguments:
graph (
Graph
): Needs to have been set with number of centroids and list of skims (if any)matrix (
AequilibraeMatrix
): Matrix properly set for computation withmatrix.computational_view(:obj:`list`)
- set_cores(cores: int) None #
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
- class aequilibrae.paths.results.assignment_results.AssignmentResultsBase[source]#
Assignment results base class for traffic and transit assignments.
- abstract prepare(graph: GraphBase, matrix: AequilibraeMatrix) None [source]#
- 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
- class aequilibrae.paths.results.assignment_results.TransitAssignmentResults[source]#
Assignment result holder for a single
Transit
- get_load_results() DataFrame [source]#
Translates the assignment results from the graph format into the network format
- Returns:
dataset (
pd.DataFrame
): DataFrame data with the transit class assignment results
- prepare(graph: TransitGraph, matrix: AequilibraeMatrix) None [source]#
Prepares the object with dimensions corresponding to the assignment matrix and graph objects
- Arguments:
graph (
TransitGraph
): Needs to have been set with number of centroidsmatrix (
AequilibraeMatrix
): Matrix properly set for computation withmatrix.computational_view(:obj:`list`)
- set_cores(cores: int) None #
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