Run Protelis Program
Parameters
the environment
the node
the reaction
the random engine
the Protelis program
Throws
if you are not authorized to load required classes
Parameters
the environment
the node
the reaction
the random engine
the Protelis program
how long the messages will be stored. Pass NaN to mean that they should get eliminated upon node awake.
Throws
if you are not authorized to load required classes
Parameters
the environment
the node
the reaction
the random engine
the Protelis program
the package loss probability, scaling with distance. This is the name of the RealDistribution to be used as follows: its PDF will be computed with density, and will be fed the distance between the current node and the neighbor; the generated probability will in turn be used to determine the probability of the package to be successfully delivered.
parameters that will be passed when building the packet loss distribution
Throws
if you are not authorized to load required classes
Parameters
the environment
the node
the reaction
the random engine
the Protelis program
how long the messages will be stored. Pass NaN to mean that they should get eliminated upon node awake.
the package loss probability, scaling with distance. This is the name of the RealDistribution to be used as follows: its PDF will be computed with density, and will be fed the distance between the current node and the neighbor; the generated probability will in turn be used to determine the probability of the package to be successfully delivered.
parameters that will be passed when building the packet loss distribution
Throws
if you are not authorized to load required classes
Parameters
the environment
the node
the reaction
the random engine
the Protelis program
how long the messages will be stored. Pass NaN to mean that they should get eliminated upon node awake.
the package loss probability, scaling with distance. This RealDistribution will be used as follows: its PDF will be computed with density, and will be fed the distance between the current node and the neighbor; the generated probability will in turn be used to determine the probability of the package to be successfully delivered. Can be null, in which case packets always arrive to neighbors.
Throws
if you are not authorized to load required classes