|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Operator
| Method Summary | |
|---|---|
void |
addINSamplingQueries(Set<String> set)
Add the queries that will be used to compute base densities. |
void |
addTerms(Set<String> set)
Add the terms |
void |
applyToSuboperators(OperatorTransformer transformer)
Apply the transformation to all sub-operators |
WeightedVectorSet |
compute(boolean needsSum,
bpiwowar.log.TaskTimer timer)
Computes the density. |
Operator |
copy()
Deep copy of this operator |
Iterable<Operator> |
getSubOperators()
Get all the suboperators (used to process recursively all the nodes of a query). |
void |
init(Informations informations)
Initialise this operator so as to prepare computation |
boolean |
isNull()
Returns true if the density is null (e.g., stopped term). |
Operator |
simplify()
Simplify this operator (calls simplify recursively). |
| Method Detail |
|---|
void init(Informations informations)
void addINSamplingQueries(Set<String> set)
set - The base queries should be added to this set
WeightedVectorSet compute(boolean needsSum,
bpiwowar.log.TaskTimer timer)
throws Throwable
init(Informations)
needsSum - If the sum of vectors is neededtimer - A timer to give information about the task progress
Throwable - if something goes wrongboolean isNull()
init(Informations)
Operator simplify()
init(Informations)
void addTerms(Set<String> set)
set - The set of termsIterable<Operator> getSubOperators()
Operator copy()
void applyToSuboperators(OperatorTransformer transformer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||