vishnu.model.algebra.optimizer.merit
Class MeritAlgorithmPicker

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

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

 

Constructor Summary
protected MeritAlgorithmPicker()
           
 
Method Summary
static MeritAlgorithmPicker getInstance()
           
 void report(Relation r, Algorithm a, long cost)
           
 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

MeritAlgorithmPicker

protected MeritAlgorithmPicker()
Method Detail

report

public void report(Relation r,
                   Algorithm a,
                   long cost)

selectedAlgorithm

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

getInstance

public static MeritAlgorithmPicker getInstance()