edu.isi.pegasus.planner.selector.transformation
Class RoundRobin

java.lang.Object
  extended by edu.isi.pegasus.planner.selector.TransformationSelector
      extended by 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

Field Summary
private  LinkedList tclist
           
 
Fields inherited from class edu.isi.pegasus.planner.selector.TransformationSelector
mLogger, PACKAGE_NAME
 
Constructor Summary
RoundRobin()
           
 
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 edu.isi.pegasus.planner.selector.TransformationSelector
loadTXSelector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tclist

private LinkedList tclist
Constructor Detail

RoundRobin

public RoundRobin()
Method Detail

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.