true only when a discontinuity (i.e., a change) is observed on x
(you may choose how to handle the first observation)
Alias for remember()
Alias for remember()
It is a simple building block which returns the same values it receives in input delayed by one computation round.
It is a simple building block which returns the same values it receives in input delayed by one computation round.
Idea: a device should change its estimate only for significant errors.
Idea: a device should change its estimate only for significant errors. Useful when devices far from the source need only coarse estimates. Flex gradient provides tunable trade-off between precision and communication cost.
Parameter expressing tolerance wrt changes
Distortion into the distance measure, such that neighbor distance is never considered to be less than delta * communicationRadius.
Source fields of devices from which the gradient is calculated
true when the given parameter goes from true to false (starting from false); false otherwise
true when the given parameter goes from false to true (starting from false); false otherwise
Remembers the occurrence of some condition or event
Remembers the occurrence of some condition or event
Remembers the provided optional value, unless empty
Remembers the provided optional value, unless empty
Returns a non-empty optional with the provided value just once, then None
Returns a non-empty optional with the provided value just once, then None
Remembers the provided value
Remembers the provided value
Counts the number of rounds, refreshing each time the computation is re-entered.
Counts the number of rounds, refreshing each time the computation is re-entered. TODO: consider boundedness as a limitation for long-lived/eternal systems
the number of the round
(Since version ) see corresponding Javadoc for more information.