DemandVectorSP.map_node_id_to_label

DemandVectorSP.map_node_id_to_label() None[source]

Delete all commodities that are made up by nodes.

Parameters
nodesint or array_like

Indices of nodes to remove.

Returns
int

Number of removed commodities.