be.ac.ulg.montefiore.run.totem.repository.tomography.methods.tomogravity
Class Tomogravity
java.lang.Object
be.ac.ulg.montefiore.run.totem.repository.tomography.methods.tomogravity.Tomogravity
- All Implemented Interfaces:
- Tomography
- Direct Known Subclasses:
- GeneralizedTomogravity, SimplifiedTomogravity
public abstract class Tomogravity
- extends java.lang.Object
- implements Tomography
This class is the parent class of each variant of the tomogravity method
Creation date: 11-mar-06
- Author:
- Quentin Chevalier (quentin.chevalier@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tm
protected TrafficMatrix[] tm
domain
protected Domain domain
Tomogravity
public Tomogravity()
inferTM
public TrafficMatrix[] inferTM(Domain domain,
LinkLoadData snmp,
RoutingMatrix[] a,
java.util.HashMap<java.lang.String,java.lang.String> params)
throws NodeNotFoundException,
InvalidDomainException,
NotYetImplementedException
- Description copied from interface:
Tomography
- This method is implemented for each new tomography method. Need the same
number of routing matrix than snmp vectors or only one routing matrix for
all the snmp vector
- Specified by:
inferTM
in interface Tomography
- Parameters:
domain
- the domain where we want to compute the traffic matrixsnmp
- A data structure containing all info about link
(snmp data based)a
- vector of the routing matrix associated with the method, each
element is a matrix at a time depending of the indexparams
- list of parameter particular to the tomograhy method
- Returns:
- a serie of estimated traffic matrix, one for each snmp data
- Throws:
NodeNotFoundException
InvalidDomainException
NotYetImplementedException
- See Also:
be.ac.ulg.montefiore.run.totem.repository.tomography.Tomography#inferTM(be.ac.ulg.montefiore.run.totem.domain.model.Domain, double[][], be.ac.ulg.montefiore.run.totem.topgen.util.RoutingMatrix[], java.util.HashMap)
computeTMGravityStep
protected abstract LinkTrafficMatrix computeTMGravityStep(LinkLoadData snmpData,
int sampleIndex)
throws NotYetImplementedException
- This method implement the gravity step for tomogravity method to
infer traffic matrix from linkcount in the network
- Parameters:
estimatedMatrix
- The traffic matrix we want to infer (initialy
filled with "0"domain
- The domain where the traffic matrix is inferersnmpLinkLoad
- The LinkLoad Matrix over timesampleIndex
- The index of time in the matrix (In fact epoch("1-jan-1970") + snmpLinkLoad.getStartTime + time * snmpLinkLoad.getStep(typically "5 minutes"))
- Throws:
NotYetImplementedException
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.