public class ShortestQueue extends AbstractAllocator
AbstractAllocator.EventPair_canonicalName, _description, _displayName, _name, _params| Constructor and Description |
|---|
ShortestQueue() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getParamKeys() |
Participant |
performAllocation(java.util.Set<Participant> resSet,
WorkItemRecord wir)
selects the Participant with the least number of workitems in the 'allocated'
workqueue, or the first participant with an empty queue
|
getAvgDurations, getAvgDurations, getCost, getCostMap, getLoggedEvents, participantSetToMap, toXMLaddKey, addParam, addParams, compareTo, equals, evaluate, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParams, getParamValue, hashCode, intersection, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, union, unmarshalParamspublic Participant performAllocation(java.util.Set<Participant> resSet, WorkItemRecord wir)
performAllocation in class AbstractAllocatorresSet - the set of Participants to comparewir - the work item to allocatepublic java.util.Set getParamKeys()
getParamKeys in class AbstractSelectorCopyright © 2004-2014 The YAWL Foundation.