felix.test
Class SchedulerTest

java.lang.Object
  extended by felix.main.Felix
      extended by felix.test.SchedulerTest

public class SchedulerTest
extends Felix

Test the scheduler: 1) cost-based optimizer; 2) planner of the operator order.

Author:
Ce Zhang

Field Summary
static java.lang.String exeTime
           
static java.util.ArrayList<java.lang.Double> planCosts
           
 
Fields inherited from class felix.main.Felix
db, fq, hasLoadedEvidence, options
 
Constructor Summary
SchedulerTest()
           
 
Method Summary
 void testDecomposition()
          Test the cost-based optimizer on a sampled Enron dataset.
 void testSillyPlanner()
          Test the planner for operator order: One operator A should run before operator B if A provide information to B or A has a larger precedence.
 
Methods inherited from class felix.main.Felix
blahblahExecutor, generateFESignature, getAllTextArray, getFelixQuery, giveMeTableNameIfExist, loadEvidence, normalizeScript, parseFelixQuery, resetACoupleAuxDataStructures, run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planCosts

public static java.util.ArrayList<java.lang.Double> planCosts

exeTime

public static java.lang.String exeTime
Constructor Detail

SchedulerTest

public SchedulerTest()
Method Detail

testSillyPlanner

public final void testSillyPlanner()
Test the planner for operator order: One operator A should run before operator B if A provide information to B or A has a larger precedence.


testDecomposition

public final void testDecomposition()
Test the cost-based optimizer on a sampled Enron dataset.