Class FastestToStart

  extended by org.yawlfoundation.yawl.resourcing.AbstractSelector
      extended by org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
          extended by org.yawlfoundation.yawl.resourcing.allocators.FastestToStart

public class FastestToStart
extends AbstractAllocator

Performs allocation based on the least average cost to allocate a work item

Michael Adams

Nested Class Summary
Nested classes/interfaces inherited from class org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
Field Summary
Fields inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
_canonicalName, _description, _displayName, _name, _params
Constructor Summary
Method Summary
 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
Methods inherited from class org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
getAvgDurations, getAvgDurations, getCost, getCostMap, getLoggedEvents, participantSetToMap, toXML, unmarshal
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public FastestToStart()
Method Detail


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
participants - a distribution set of participants
wir - the work item to allocate
a single participant, or null if participants is null or empty

Copyright © 2004-2012 The YAWL Foundation.