alchemist
alchemist
/
it.unibo.alchemist.core.implementations
/
ArrayIndexedPriorityQueue
Array
Indexed
Priority
Queue
class
ArrayIndexedPriorityQueue
<
T
>
:
Scheduler
<
T
>
Content copied to clipboard
This class implements the indexed priority queue through an Array.
Functions
Parameters
Parameters
<T>
concentration type
Functions
add
Reaction
Link copied to clipboard
open
fun
addReaction
(
r
:
Reaction
<
T
>
)
Content copied to clipboard
get
Next
Link copied to clipboard
open
fun
getNext
(
)
:
Reaction
<
T
>
Content copied to clipboard
remove
Reaction
Link copied to clipboard
open
fun
removeReaction
(
r
:
Reaction
<
T
>
)
Content copied to clipboard
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Content copied to clipboard
update
Reaction
Link copied to clipboard
open
fun
updateReaction
(
r
:
Reaction
<
T
>
)
Content copied to clipboard