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 CloudSim entities that represent the source and destination of the link will be mapped to BRITE entities.
      Parameters:
      src - CloudSim entity that represents the link's source node
      dest - CloudSim entity that represents the link's destination node
      bw - Link's bandwidth
      lat - link's latency
    • removeLink

      void removeLink​(SimEntity src, SimEntity dest)
    • getDelay

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