be.ac.ulg.montefiore.run.totem.domain.model.impl
Class DomainStatisticsImpl

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.domain.model.impl.DomainStatisticsImpl
All Implemented Interfaces:
DomainStatistics

public class DomainStatisticsImpl
extends java.lang.Object
implements DomainStatistics

Compute statistcs on a domain

Creation date: 19-Jan-2005 18:40:41

Author:
Simon Balon (balon@run.montefiore.ulg.ac.be)

Constructor Summary
DomainStatisticsImpl(Domain domain)
           
 
Method Summary
 float getBalance()
          Returns the Balance of the network (resource-oriented network performance indicator).
 float getFairness()
          Returns the Fairness of the network (traffic-oriented network performance indicator).
 float getLinkUtilisationStandardDeviation()
          Returns the Standard Deviation over the utilisation of all the links of this domain
 float getPathcost(Lsp lsp)
          Returns the pathcost of the lsp given as argument.
 float getThroughput()
          Returns the Throughput of the network (traffic-oriented network performance indicator).
 float getUtilization()
          Returns the Utilization of the domain (resource-oriented network performance indicator).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomainStatisticsImpl

public DomainStatisticsImpl(Domain domain)
Method Detail

getBalance

public float getBalance()
Returns the Balance of the network (resource-oriented network performance indicator). The balance is defined by 1 minus the maximum link load in the network. As we do not dispose link load in our domain XML format, we replace the load by the bandwidth reservation.

Specified by:
getBalance in interface DomainStatistics

getUtilization

public float getUtilization()
Returns the Utilization of the domain (resource-oriented network performance indicator). The utilization is defined by the sum of all link loads. As we do not dispose link load in our domain XML format, we replace the load by the bandwidth reservation.

Specified by:
getUtilization in interface DomainStatistics

getLinkUtilisationStandardDeviation

public float getLinkUtilisationStandardDeviation()
Returns the Standard Deviation over the utilisation of all the links of this domain

Specified by:
getLinkUtilisationStandardDeviation in interface DomainStatistics

getFairness

public float getFairness()
Returns the Fairness of the network (traffic-oriented network performance indicator). The fairness is defined as the minimum share in the network. (for the share definition, see below)

Specified by:
getFairness in interface DomainStatistics

getThroughput

public float getThroughput()
Returns the Throughput of the network (traffic-oriented network performance indicator). Throughput is defined as the sum (over all trunks) of the product of share and demand. (for the share definition, see below)

Specified by:
getThroughput in interface DomainStatistics

getPathcost

public float getPathcost(Lsp lsp)
Returns the pathcost of the lsp given as argument. The pathcost is the sum of TE metric of the links on which the LSP pass on.

Specified by:
getPathcost in interface DomainStatistics


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.