@Title(value="Null Algorithm") @Description(value="Algorithm which does nothing, just return a null object.") public class NullAlgorithm extends AbstractAlgorithm<Result>
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
The logger for this class.
|
ALGORITHM_ID
Constructor and Description |
---|
NullAlgorithm()
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)
Runs the algorithm.
|
private static final Logging LOG
public Result run(Database database)
Algorithm
run
in interface Algorithm
run
in class AbstractAlgorithm<Result>
database
- the database to run the algorithm onprotected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<Result>
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<Result>
Copyright © 2019 ELKI Development Team. License information.