public class CheapestStarter extends AbstractAllocator
AbstractAllocator.EventPair
_canonicalName, _description, _displayName, _name, _params
Constructor and Description |
---|
CheapestStarter() |
Modifier and Type | Method and Description |
---|---|
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, toXML
addKey, 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, unmarshalParams
public Participant performAllocation(java.util.Set<Participant> participants, WorkItemRecord wir)
performAllocation
in class AbstractAllocator
participants
- a distribution set of participantswir
- the work item to allocateCopyright © 2004-2014 The YAWL Foundation.