public abstract class AbstractClosestVectors extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractClosestVectors.Result |
| Modifier and Type | Field and Description |
|---|---|
protected Scanner |
scanner |
protected VectorsReader |
vectorsReader |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClosestVectors(String file) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute() |
protected abstract AbstractClosestVectors.Result |
getTargetVector() |
protected String |
nextWord() |
protected String[] |
nextWords(int n,
String msg) |
protected Scanner scanner
protected final VectorsReader vectorsReader
protected AbstractClosestVectors(String file)
protected String nextWord()
protected abstract AbstractClosestVectors.Result getTargetVector()
protected final void execute()
throws IOException
IOExceptionCopyright © 2014–2021 码农场. All rights reserved.