edu.isi.pegasus.planner.selector.transformation
Class RoundRobin
java.lang.Object
edu.isi.pegasus.planner.selector.TransformationSelector
edu.isi.pegasus.planner.selector.transformation.RoundRobin
public class RoundRobin
- extends TransformationSelector
This implementation of the Selector select a transformation from a list in a round robin fashion.
- Version:
- $Revision: 2050 $
- Author:
- Gaurang Mehta
|
Method Summary |
List |
getTCEntry(List tcentries)
Takes a list of TransformationCatalogEntry objects and returns 1 or many
TransformationCatalogEntry objects as a list depending on the type of selection algorithm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tclist
private LinkedList tclist
RoundRobin
public RoundRobin()
getTCEntry
public List getTCEntry(List tcentries)
- Description copied from class:
TransformationSelector
- Takes a list of TransformationCatalogEntry objects and returns 1 or many
TransformationCatalogEntry objects as a list depending on the type of selection algorithm.
The Random and RoundRobin implementation ensure that only one entry is
returned and should be run last when chaining multiple selectors
- Specified by:
getTCEntry in class TransformationSelector
- Parameters:
tcentries - List
- Returns:
- TransformationCatalogEntry
Copyright © 2011 The University of Southern California. All Rights Reserved.