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") @Priority(value=-100) 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.
|
ALGORITHM_ID
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.
|
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>
Copyright © 2019 ELKI Development Team. License information.