public class TopologicalLink extends Object
Constructor and Description |
---|
TopologicalLink(int srcNode,
int destNode,
double delay,
double bandwidth)
Creates a new Topological Link.
|
Modifier and Type | Method and Description |
---|---|
int |
getDestNodeID()
Gets the BRITE id of the destination node of the link.
|
double |
getLinkBw()
Gets the bandwidth of the link.
|
double |
getLinkDelay()
Gets the delay of the link.
|
int |
getSrcNodeID()
Gets the BRITE id of the source node of the link.
|
public TopologicalLink(int srcNode, int destNode, double delay, double bandwidth)
srcNode
- the BRITE id of the source node of the link.destNode
- the BRITE id of the destination node of the link.delay
- the link delay of the connection.bandwidth
- the link bandwidth (bw)public int getSrcNodeID()
public int getDestNodeID()
public double getLinkDelay()
public double getLinkBw()
Copyright © 2015–2019 Systems, Security and Image Communication Lab - Instituto de Telecomunica����es (IT) - Universidade da Beira Interior (UBI) - Instituto Federal de Educa����o Ci��ncia e Tecnologia do Tocantins (IFTO). All rights reserved.