@Test public void testLargeShufflePolicy() throws Exception { final IRDAG optimizedDAG = LargeShufflePolicy.BUILDER.build().runCompileTimeOptimization(dag, DAG.EMPTY_DAG_DIRECTORY); assertTrue(optimizedDAG.checkIntegrity().isPassed()); }
@Override public IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory) { LOG.info("Launch Compile-time optimizations"); return process(dag, compileTimePasses.iterator(), dagDirectory); }
PolicyImpl implements Policy { @Override public IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory) { LOG.info("Launch Compile-time optimizations"); return process(dag, compileTimePasses.iterator(), dagDirectory); } }
PolicyImpl implements Policy { @Override public IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory) { LOG.info("Launch Compile-time optimizations"); return process(dag, compileTimePasses.iterator(), dagDirectory); } PolicyImpl(final List<CompileTimePass> compileTimePasses, final Set<RunTimePass<?>> runTimePasses); }
PolicyImpl implements Policy { @Override public IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory) { LOG.info("Launch Compile-time optimizations"); return process(dag, compileTimePasses.iterator(), dagDirectory); } PolicyImpl(final List<CompileTimePass> compileTimePasses, final Set<RunTimePass<?>> runTimePasses); @Override IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory); @Override IRDAG runRunTimeOptimizations(final IRDAG irdag, final Message message); }
PolicyImpl implements Policy { @Override public IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory) { LOG.info("Launch Compile-time optimizations"); return process(dag, compileTimePasses.iterator(), dagDirectory); } PolicyImpl(final List<CompileTimePass> compileTimePasses, final Set<RunTimePass<?>> runTimePasses); @Override IRDAG runCompileTimeOptimization(final IRDAG dag, final String dagDirectory); @Override IRDAG runRunTimeOptimizations(final IRDAG irdag, final Message message);  }