Class: Queue

Queue()

Holds a list of wanted plans to train or construct

Constructor

new Queue()

Source:

Members

paused

Source:

paused

Source:

plans

Source:

plans

Source:

plans

Source:

switched

Source:

switched

Source:

Methods

Deserialize()

Source:

Serialize()

Source:

addPlan()

Source:

check()

Source:

countQueuedUnits()

Source:

countQueuedUnitsWithClass()

Source:

countQueuedUnitsWithMetadata()

Source:

empty()

Source:

getNext()

Source:

hasQueuedUnits()

Source:

hasQueuedUnitsWithClass()

Source:

length()

Source:

maxAccountWanted()

returns the maximal account we'll accept for this queue. Currently all the cost of the first element and fraction of that of the second
Source:

queueCost()

Source:

startNext()

Source:

Queue()

new Queue()

Source:

Members

paused

Source:

paused

Source:

plans

Source:

plans

Source:

plans

Source:

switched

Source:

switched

Source:

Methods

Deserialize()

Source:

Serialize()

Source:

addPlan()

Source:

check()

Source:

countQueuedUnits()

Source:

countQueuedUnitsWithClass()

Source:

countQueuedUnitsWithMetadata()

Source:

empty()

Source:

getNext()

Source:

hasQueuedUnits()

Source:

hasQueuedUnitsWithClass()

Source:

length()

Source:

maxAccountWanted()

returns the maximal account we'll accept for this queue. Currently all the cost of the first element and fraction of that of the second
Source:

queueCost()

Source:

startNext()

Source: