vishnu.model.algebra.optimizer.costs
Class CostBasedAlgorithmPicker

java.lang.Object
  extended by vishnu.model.algebra.optimizer.costs.CostBasedAlgorithmPicker
All Implemented Interfaces:
AlgorithmSelectionStage.AlgorithmPicker

public class CostBasedAlgorithmPicker
extends java.lang.Object
implements AlgorithmSelectionStage.AlgorithmPicker

 

Constructor Summary
protected CostBasedAlgorithmPicker()
           
 
Method Summary
static CostBasedAlgorithmPicker getInstance()
           
 void register(java.lang.Class<Algorithm> a, CostEstimator e)
           
 Algorithm selectedAlgorithm(java.util.Collection<Algorithm> c, Relation r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostBasedAlgorithmPicker

protected CostBasedAlgorithmPicker()
Method Detail

register

public void register(java.lang.Class<Algorithm> a,
                     CostEstimator e)

selectedAlgorithm

public Algorithm selectedAlgorithm(java.util.Collection<Algorithm> c,
                                   Relation r)
Specified by:
selectedAlgorithm in interface AlgorithmSelectionStage.AlgorithmPicker

getInstance

public static CostBasedAlgorithmPicker getInstance()