Class FlatCostFunction
java.lang.Object
tools.refinery.interpreter.localsearch.planner.cost.impl.StatisticsBasedConstraintCostFunction
tools.refinery.store.query.interpreter.internal.localsearch.FlatCostFunction
- All Implemented Interfaces:
ICostFunction
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected double_calculateCost(TypeConstraint constraint, IConstraintEvaluationContext input) projectionSize(IConstraintEvaluationContext input, IInputKey supplierKey, TupleMask groupMask, Accuracy requiredAccuracy) Methods inherited from class StatisticsBasedConstraintCostFunction
_calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, _calculateCost, apply, bucketSize, calculateBinaryCost, calculateBinaryExtendCost, calculateCost, calculateUnaryConstraintCost, countTuples, navigatesThroughFunctionalDependency, navigatesThroughFunctionalDependency, navigatesThroughFunctionalDependencyInverse
-
Constructor Details
-
FlatCostFunction
public FlatCostFunction()
-
-
Method Details
-
projectionSize
public Optional<Long> projectionSize(IConstraintEvaluationContext input, IInputKey supplierKey, TupleMask groupMask, Accuracy requiredAccuracy) - Overrides:
projectionSizein classStatisticsBasedConstraintCostFunction
-
_calculateCost
- Overrides:
_calculateCostin classStatisticsBasedConstraintCostFunction
-