O
- Vector type@Title(value="Dummy Algorithm") @Description(value="The algorithm executes an Euclidean 10NN query on all data points, and can be used in unit testing") public class DummyAlgorithm<O extends NumberVector<?>> extends AbstractAlgorithm<Result>
NullAlgorithm
instead.Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
Constructor and Description |
---|
DummyAlgorithm()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
Result |
run(Database database,
Relation<O> relation)
Run the algorithm.
|
makeParameterDistanceFunction, run
private static final Logging LOG
public Result run(Database database, Relation<O> relation)
database
- Databaserelation
- Relationpublic TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<Result>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<Result>