aequilibrae.matrix.coo_demand#

Classes

class aequilibrae.matrix.coo_demand.GeneralisedCOODemand#
add_df(dfs: pd.DataFrame | List[pd.DataFrame], shape=None, fill: float = 0.0)#

Add a DataFrame to the existing ones.

Expects a DataFrame with a multi-index of (o, d).

add_matrix(matrix: AequilibraeMatrix, shape=None, fill: float = 0.0)#

Add an AequilibraE matrix to the existing demand in a sparse manner.

batches()#
is_empty() bool#
no_demand() bool#
df#
f32_names#
f64_names#
nodes_to_indices#
shape#