be.ac.ulg.montefiore.run.totem.visualtopo.graph
Interface WidthCalculator

All Known Implementing Classes:
MyWidthCalculator

public interface WidthCalculator

Classes that implement this interface calculate the width of a link given the link bandwidth. The link width is the width in pixel of the line representing the link in Jung network visualization.

Creation date: 29/05/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Method Summary
 int getWidth(float bwValue)
          Returns the link width to display given the bandwidth of the link.
 

Method Detail

getWidth

int getWidth(float bwValue)
Returns the link width to display given the bandwidth of the link.

Parameters:
bwValue -
Returns:


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