|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ulg.montefiore.run.totem.repository.tomography.utils.ColtConverter
public class ColtConverter
Creation date: 02-avr.-2006
Constructor Summary | |
---|---|
ColtConverter()
|
Method Summary | |
---|---|
TrafficMatrix |
coltToTraffixMatrix(Domain domain,
RoutingMatrix routMat,
cern.colt.matrix.DoubleMatrix1D tm)
Convert a colt matrix into a trafficMatrix |
void |
coltToTraffixMatrix(Domain domain,
RoutingMatrix routMat,
cern.colt.matrix.DoubleMatrix1D tm,
TrafficMatrix ref)
|
cern.colt.matrix.DoubleMatrix2D |
routingMatrixToColt(RoutingMatrix routMat)
Method that convert a routing matrix into colt matrix data structure |
cern.colt.matrix.DoubleMatrix1D |
traffixMatrixToColt(RoutingMatrix routMat,
TrafficMatrix tm)
Method that convert a traffic matrix into colt matrix data structure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColtConverter()
Method Detail |
---|
public cern.colt.matrix.DoubleMatrix2D routingMatrixToColt(RoutingMatrix routMat)
routMat
- the matrix to convert
public cern.colt.matrix.DoubleMatrix1D traffixMatrixToColt(RoutingMatrix routMat, TrafficMatrix tm) throws NodeNotFoundException
routMat
- the routing matrix associated with the tmtm
- the traffic matrix to convert
NodeNotFoundException
public TrafficMatrix coltToTraffixMatrix(Domain domain, RoutingMatrix routMat, cern.colt.matrix.DoubleMatrix1D tm) throws NodeNotFoundException, InvalidDomainException
domain
- the domain associated with the tmroutMat
- the routing matrix associated with the tmtm
- the tm (in 1D colt matrix) to convert
NodeNotFoundException
InvalidDomainException
public void coltToTraffixMatrix(Domain domain, RoutingMatrix routMat, cern.colt.matrix.DoubleMatrix1D tm, TrafficMatrix ref) throws NodeNotFoundException, InvalidDomainException
NodeNotFoundException
InvalidDomainException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |