org.yawlfoundation.yawl.resourcing.allocators
Class RoundRobinByLeastFrequency

java.lang.Object
  extended by org.yawlfoundation.yawl.resourcing.AbstractSelector
      extended by org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
          extended by org.yawlfoundation.yawl.resourcing.allocators.RoundRobinByLeastFrequency

public class RoundRobinByLeastFrequency
extends AbstractAllocator

Allocates a workitem to a participant on a round-robin basis, to the participant who has performed the task the least number of times. Create Date: 09/11/2007. Last Date: 12/11/2007

Version:
2.0
Author:
Michael Adams (BPM Group, QUT Australia)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.yawlfoundation.yawl.resourcing.allocators.AbstractAllocator
AbstractAllocator.EventPair
 
Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.resourcing.AbstractSelector
_canonicalName, _description, _displayName, _name, _params
 
Constructor Summary
RoundRobinByLeastFrequency()
           
 
Method Summary
 Participant performAllocation(Set<Participant> participants, WorkItemRecord wir)
          Performs an allocation using some strategy
 
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

RoundRobinByLeastFrequency

public RoundRobinByLeastFrequency()
Method Detail

performAllocation

public Participant performAllocation(Set<Participant> participants,
                                     WorkItemRecord wir)
Description copied from class: AbstractAllocator
Performs an allocation using some strategy

Specified by:
performAllocation in class AbstractAllocator
Parameters:
participants - the distribution set of participants
wir - the work item to allocate
Returns:
the Participant chosen by the allocation strategy


Copyright © 2004-2012 The YAWL Foundation.