org.yawlfoundation.yawl.resourcing.allocators
Class CheapestStarter
java.lang.Object
org.yawlfoundation.yawl.resourcing.AbstractSelector
org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
org.yawlfoundation.yawl.resourcing.allocators.CheapestStarter
public class CheapestStarter
- extends AbstractAllocator
Performs allocation based on the least average cost to start a work item
- Author:
- Michael Adams
| Methods inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector |
addKey, addParam, addParams, getCanonicalName, getClassName, getDescription, getDisplayName, getInformation, getKeys, getName, getParamKeys, getParams, getParamValue, reconstitute, setCanonicalName, setDescription, setDisplayName, setKeyValue, setName, setParams, toString, unmarshalParams |
CheapestStarter
public CheapestStarter()
performAllocation
public Participant performAllocation(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
- Specified by:
performAllocation in class AbstractAllocator
- Parameters:
participants - a distribution set of participantswir - the work item to allocate
- Returns:
- a single participant, or null if participants is null or empty
Copyright © 2004-2012 The YAWL Foundation.