Class RandomizedQueryOptimizerBase
java.lang.Object
se.liu.ida.hefquin.engine.queryproc.impl.poptimizer.randomized.RandomizedQueryOptimizerBase
- All Implemented Interfaces:
PhysicalOptimizer
- Direct Known Subclasses:
IterativeImprovementBasedQueryOptimizer,SimulatedAnnealing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CostModelprotected final LogicalToPhysicalPlanConverterprotected final Randomprotected final PlanRewritingUtils -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRandomizedQueryOptimizerBase(LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<PhysicalPlan>getNeighbours(PhysicalPlan initialPlan) protected <T> TgetRandomElement(List<T> L) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryproc.PhysicalOptimizer
assumesLogicalMultiwayJoins, optimize
-
Field Details
-
rng
-
l2pConverter
-
costModel
-
rules
-
-
Constructor Details
-
RandomizedQueryOptimizerBase
protected RandomizedQueryOptimizerBase(LogicalToPhysicalPlanConverter l2pConverter, CostModel costModel, RuleInstances rewritingRules)
-
-
Method Details
-
getNeighbours
-
getRandomElement
-