toggle menu
alchemist
jvm
switch theme
search in API
alchemist
/
it.unibo.alchemist.core
/
ArrayIndexedPriorityQueue
Array
Indexed
Priority
Queue
class
ArrayIndexedPriorityQueue
<
T
>
:
Scheduler
<
T
>
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
>
)