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

java.lang.Object
  extended by edu.isi.pegasus.planner.selector.TransformationSelector
      extended by edu.isi.pegasus.planner.selector.transformation.Random

public class Random
extends TransformationSelector

This implemenation of the TCSelector selects a random TransformationCatalogEntry from a List of entries.

Version:
$Revision: 2050 $
Author:
Gaurang Mehta

Field Summary
 
Fields inherited from class edu.isi.pegasus.planner.selector.TransformationSelector
mLogger, PACKAGE_NAME
 
Constructor Summary
Random()
           
 
Method Summary
 List getTCEntry(List tcentries)
          This method randomly selects one of the records from numerous valid Transformation Catalog Entries returned by the TCMapper.
 
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
 

Constructor Detail

Random

public Random()
Method Detail

getTCEntry

public List getTCEntry(List tcentries)
This method randomly selects one of the records from numerous valid Transformation Catalog Entries returned by the TCMapper.

Specified by:
getTCEntry in class TransformationSelector
Parameters:
tcentries - List TransformationCatalogEntry objects returned by the TCMapper.
Returns:
TransformationCatalogEntry Single TransformationCatalogEntry object


Copyright © 2011 The University of Southern California. All Rights Reserved.