SimpleNetworkArrivals

A time distribution that simulates network packet arrivals based on EdgeCloudSim model. Computes delays based on propagation delay and packet transmission time (packet size / bandwidth).

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
val node: Node<T>

The node where this time distribution is applied.

Link copied to clipboard

Computes the packet size, defaulting to 1.0 if not specified or invalid.

Link copied to clipboard

Computes the propagation delay from constants or properties.

Functions

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

Updates the internal status.