public class ProxRunner extends Runner
(BASS 2 GUITAR) (the parentheses are required).
Modifier and Type | Field and Description |
---|---|
TermRunner |
a
Description of the Field
|
TermRunner |
b
Description of the Field
|
int |
diff
Description of the Field
|
int[] |
prox_a
Description of the Field
|
int[] |
prox_b
Description of the Field
|
Constructor and Description |
---|
ProxRunner(TermRunner a,
TermRunner b,
int diff)
Constructor for the ProxRunner object
|
Modifier and Type | Method and Description |
---|---|
int |
evaluate(long uid)
Return the similarity of this object to the document with the given
unique ID.
|
String |
invalidReason()
Return an explanation as to why this search is invalid.
|
int |
terms()
Description of the Method
|
public TermRunner a
public TermRunner b
public int diff
public int[] prox_a
public int[] prox_b
public ProxRunner(TermRunner a, TermRunner b, int diff)
a
- the Runner for the first termb
- the Runner for the second termdiff
- Description of the Parameterpublic int terms()
public String invalidReason()
invalidReason
in class Runner
public int evaluate(long uid)
Copyright © 2016 Egothor. All Rights Reserved.