alchemist
Toggle table of contents
36.0.11
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist-engine
/
it.unibo.alchemist.core
/
ArrayIndexedPriorityQueue
Array
Indexed
Priority
Queue
class
ArrayIndexedPriorityQueue
<
T
>
:
Scheduler
<
T
>
(
source
)
This class implements the indexed priority queue through an Array.
Parameters
<T>
concentration type
Members
Constructors
Array
Indexed
Priority
Queue
Link copied to clipboard
constructor
(
)
Properties
tree
Link copied to clipboard
val
tree
:
List
<
Actionable
<
T
>
>
Functions
add
Reaction
Link copied to clipboard
open
fun
addReaction
(
reaction
:
Actionable
<
T
>
)
Should not be overridden.
get
Next
Link copied to clipboard
open
fun
getNext
(
)
:
Actionable
<
T
>
Could be overridden.
remove
Reaction
Link copied to clipboard
open
fun
removeReaction
(
reaction
:
Actionable
<
T
>
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
String representation, could be overridden.
update
Reaction
Link copied to clipboard
open
fun
updateReaction
(
reaction
:
Actionable
<
T
>
)