public class NewAllocator extends AbstractAllocator
AbstractAllocator.EventPair_canonicalName, _description, _displayName, _name, _params| Constructor and Description |
|---|
NewAllocator() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.util.List<java.lang.Long>> |
getDurations(EventLogger.event fromEvent,
EventLogger.event toEvent,
WorkItemRecord wir) |
Participant |
performAllocation(java.util.Set<Participant> participants,
WorkItemRecord wir)
Selects a single participant from the list provided that has the lowest cost
rate for the work item in question
|
getAvgDurations, getAvgDurations, getCost, getCostMap, getLoggedEvents, participantSetToMap, toXMLaddKey, addParam, addParams, compareTo, equals, evaluate, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParamKeys, getParams, getParamValue, hashCode, intersection, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, union, unmarshalParamspublic Participant performAllocation(java.util.Set<Participant> participants, WorkItemRecord wir)
performAllocation in class AbstractAllocatorparticipants - a distribution set of participantswir - the work item to allocateprotected java.util.Map<java.lang.String,java.util.List<java.lang.Long>> getDurations(EventLogger.event fromEvent, EventLogger.event toEvent, WorkItemRecord wir)
Copyright © 2004-2014 The YAWL Foundation.