public class VectorRunner extends Runner
This object represents a binary form of set of formulas (clausulas).
Constructor and Description |
---|
VectorRunner(Rider r,
Runner[] w)
Constructor for the VectorRunner object.
|
Modifier and Type | Method and Description |
---|---|
int |
evaluate(long uid)
Return the calculated similarity between the query and the document
with the given unique ID..
|
String |
invalidReason()
Return an explanation as to why the search contained in the Runner
is invalid.
|
void |
run()
For all candidates in a rider calculates a similarity and if the
similarity is a positive value, then this method calls
Rider.accepted(int) . |
int |
terms()
Description of the Method
|
public int terms()
public void run()
Rider.accepted(int)
.
If the Rider.accepted(int)
method says that
it does not need more hits, this method may end early.public String invalidReason()
invalidReason
in class Runner
Copyright © 2016 Egothor. All Rights Reserved.