Interface NetworkTopology

All Known Implementing Classes:
BriteNetworkTopology

public interface NetworkTopology
Implements a network layer by reading the topology from a file in a specific format that is defined by each implementing class.
Since:
CloudSim Plus 1.0
Author:
Rodrigo N. Calheiros, Anton Beloglazov, Manoel Campos da Silva Filho
  • Field Details

  • Method Details

    • addLink

      void addLink(SimEntity src, SimEntity dest, double bw, double lat)
      Adds a new link in the network topology. The SimEntitys that represent the source and destination of the link will be mapped to BRITE entities.
      Parameters:
      src - SimEntity that represents the link's source node
      dest - SimEntity that represents the link's destination node
      bw - link's bandwidth (in Megabits/s)
      lat - link's latency (in seconds)
    • removeLink

      void removeLink(SimEntity src, SimEntity dest)
    • getDelay

      double getDelay(SimEntity src, SimEntity dest)
      Calculates the delay (in seconds) between two nodes.
      Parameters:
      src - SimEntity that represents the link's source node
      dest - SimEntity that represents the link's destination node
      Returns:
      communication delay (in seconds) between the two nodes