fnss.traffic.trafficmatrices.TrafficMatrix.add_flow

TrafficMatrix.add_flow(origin, destination, volume)[source]

Add a flow to the traffic matrix

Parameters :

origin : any hashable type

The origin node

destination : any hashable type

The destination node

volume : float

The traffic volume