toggle menu
alchemist
35.0.2
jvm
switch theme
search in API
alchemist-implementationbase
/
it.unibo.alchemist.model.timedistributions
/
Trigger
Trigger
class
Trigger
<
T
>
:
AbstractDistribution
<
T
>
(
source
)
Parameters
<T>
Concentration type
Members
Constructors
Trigger
Link copied to clipboard
constructor
(
event
:
Time
)
Functions
clone
On
New
Node
Link copied to clipboard
abstract
fun
cloneOnNewNode
(
p
:
Node
<
T
>
,
p1
:
Time
)
:
TimeDistribution
<
T
>
open
fun
cloneOnNewNode
(
@
Nonnull
destination
:
Node
<
T
>
,
@
Nonnull
currentTime
:
Time
)
:
Trigger
<
T
>
get
Next
Occurence
Link copied to clipboard
abstract
fun
getNextOccurence
(
)
:
Time
fun
getNextOccurence
(
)
:
Time
get
Rate
Link copied to clipboard
open
fun
getRate
(
)
:
Double
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
>
)