Parses a traffic matrix from a traffic matrix XML file. If the XML file contains more than one traffic matrix, it returns a TrafficMatrixSequence object, otherwise a TrafficMatrixObject.
Parameters : | path: str :
encoding : str, optional
|
---|---|
Returns : | tm : TrafficMatrix or TrafficMatrixSequence |