toggle menu
alchemist
35.0.1
jvm
switch theme
search in API
alchemist-implementationbase
/
it.unibo.alchemist.model.timedistributions
/
DiracComb
Dirac
Comb
open
class
DiracComb
<
T
>
:
AbstractDistribution
<
T
>
(
source
)
A DiracComb is a sequence of events that happen every fixed time interval.
Parameters
<T>
concentration type
Inheritors
RandomDiracComb
Members
Constructors
Dirac
Comb
Link copied to clipboard
constructor
(
start
:
Time
,
rate
:
Double
)
constructor
(
rate
:
Double
)
Functions
clone
On
New
Node
Link copied to clipboard
abstract
fun
cloneOnNewNode
(
p
:
Node
<
T
>
,
p1
:
Time
)
:
TimeDistribution
<
T
>
fun
cloneOnNewNode
(
@
Nonnull
destination
:
Node
<
T
>
,
@
Nonnull
currentTime
:
Time
)
:
DiracComb
<
T
>
get
Next
Occurence
Link copied to clipboard
abstract
fun
getNextOccurence
(
)
:
Time
fun
getNextOccurence
(
)
:
Time
get
Rate
Link copied to clipboard
fun
getRate
(
)
:
Double
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
update
Link copied to clipboard
abstract
fun
update
(
p
:
Time
,
p1
:
Boolean
,
p2
:
Double
,
p3
:
Environment
<
T
,
out
Any
>
)
fun
update
(
@
Nonnull
currentTime
:
Time
,
hasBeenExecuted
:
Boolean
,
additionalParameter
:
Double
,
@
Nonnull
environment
:
Environment
<
T
,
out
Any
>
)