public abstract class PartialRecallRefinementOperator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PartialRecallRefinementNode |
best |
protected LinkedList<PartialRecallRefinementNode> |
buffer |
protected double |
desiredSelectivity |
protected double |
k |
protected static org.apache.log4j.Logger |
logger |
protected long |
maxOpt |
protected PartialRecallRefinementNode |
root |
protected ACache |
source |
protected ACache |
target |
protected List<Double> |
thresholds |
protected long |
timeLimit |
protected HashSet<String> |
total |
| Constructor and Description |
|---|
PartialRecallRefinementOperator(ACache s,
ACache t,
double recall,
long optTime,
LinkSpecification spec) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
checkSelectivity(double selectivity)
Compares an input selectivity value with the desired selectivity.
|
PartialRecallRefinementNode |
getBest() |
double |
getDesiredSelectivity() |
long |
getOptimizationTime() |
double |
getRecall() |
protected void |
init(LinkSpecification spec)
Initializes refinement procedure.
|
protected double |
next(double currentThreshold)
Implements the next function.
|
abstract void |
optimize() |
protected static final org.apache.log4j.Logger logger
protected PartialRecallRefinementNode root
protected PartialRecallRefinementNode best
protected double desiredSelectivity
protected ACache source
protected ACache target
protected long timeLimit
protected double k
protected long maxOpt
protected LinkedList<PartialRecallRefinementNode> buffer
public PartialRecallRefinementOperator(ACache s, ACache t, double recall, long optTime, LinkSpecification spec)
public double getRecall()
public long getOptimizationTime()
public PartialRecallRefinementNode getBest()
public double getDesiredSelectivity()
public abstract void optimize()
protected int checkSelectivity(double selectivity)
selectivity - protected double next(double currentThreshold)
currentThreshold, - the input thresholdprotected void init(LinkSpecification spec)
spec, - the input link specificationCopyright © 2020. All rights reserved.