abstract class BaseScore extends Object
| Constructor and Description |
|---|
BaseScore() |
| Modifier and Type | Method and Description |
|---|---|
private void |
evaluateSignature(Match match,
Signature signature,
int lastNodeCharacter) |
(package private) void |
evaluateSignatures(Match match,
Match.RankedSignatureIterator closestSignatures) |
protected abstract int |
getInitialScore(Match match,
Signature signature,
int lastNodeCharacter)
Sets any initial score before each node is evaluated.
|
protected abstract int |
getScore(Match match,
Node node)
Gets the score for the specific node of the signature.
|
private int |
getScore(Match match,
Signature signature,
int lastNodeCharacter) |
protected abstract int getScore(Match match, Node node) throws IOException
match - node - IOExceptionprotected abstract int getInitialScore(Match match, Signature signature, int lastNodeCharacter) throws IOException
match - signature - lastNodeCharacter - IOExceptionvoid evaluateSignatures(Match match, Match.RankedSignatureIterator closestSignatures) throws IOException
IOExceptionprivate void evaluateSignature(Match match, Signature signature, int lastNodeCharacter) throws IOException
IOExceptionprivate int getScore(Match match, Signature signature, int lastNodeCharacter) throws IOException
IOException