SimpleNetworkArrivals

This class models a distribution that follows the packet arrival times as described in EdgeCloudSim. The delay produced depends on a constant propagation delay plus the packet size divided by the bandwidth.

Parameters

propagationDelayMolecule

The propagation delay molecule. If the string is parsable as Double, then it will get used as a constant delay. Otherwise, the String will be used within Incarnation.getProperty

Type Parameters

T

the type of the environment. In case propagationDelay, packetSize or bandwidth are not parsable to Double, then they will be used as identifiers for properties to be obtained through the incarnation

Constructors

Link copied to clipboard
constructor(incarnation: Incarnation<T, *>, node: Node<T>, environment: Environment<T, *>, propagationDelay: Double, packetSize: Double, bandwidth: Double, accessPointIdentificator: Molecule? = null)
constructor(incarnation: Incarnation<T, *>, environment: Environment<T, *>, node: Node<T>, propagationDelay: Double, packetSize: Double, bandwidthMolecule: Molecule, bandwidthProperty: String, accessPointIdentificator: Molecule? = null)
constructor(incarnation: Incarnation<T, *>, environment: Environment<T, *>, node: Node<T>, propagationDelay: Double, packetSizeMolecule: Molecule, packetSizeProperty: String, bandwidthMolecule: Molecule, bandwidthProperty: String, accessPointIdentificator: Molecule? = null)
constructor(incarnation: Incarnation<T, *>, environment: Environment<T, *>, node: Node<T>, propagationDelayMolecule: Molecule, propagationDelayProperty: String, packetSizeMolecule: Molecule, packetSizeProperty: String, bandwidthMolecule: Molecule, bandwidthProperty: String, accessPointIdentificator: Molecule? = null)

Properties

Link copied to clipboard

Computes the effective bandwidth considering access point load balancing.

Link copied to clipboard

The environment containing the network topology.

Link copied to clipboard

The incarnation used to resolve properties from nodes.

Link copied to clipboard

Gets the neighbors of a node as a collection.

Link copied to clipboard
override val nextOccurence: Time?
Link copied to clipboard
val node: Node<T>

The node where this time distribution is applied.

Link copied to clipboard

Computes the packet size from constants or properties. Defaults to 1.0 if not specified or invalid.

Link copied to clipboard

Computes the propagation delay from constants or properties.

Link copied to clipboard
open override val rate: Double

Functions

Link copied to clipboard
open override fun cloneOnNewNode(destination: Node<T>, currentTime: Time): SimpleNetworkArrivals<T>
Link copied to clipboard
open override fun getRate(): Double
Link copied to clipboard
Link copied to clipboard
fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, additionalParameter: Double, @Nonnull environment: Environment<T?, *>)