Package elki.algorithm
Class NullAlgorithm
- java.lang.Object
-
- elki.algorithm.NullAlgorithm
-
- All Implemented Interfaces:
Algorithm
@Title("Null Algorithm") @Description("Algorithm which does nothing, just return a null object.") public class NullAlgorithm extends java.lang.Object implements Algorithm
Null algorithm, which does nothing. Can be used to, e.g., visualize a data set.- Since:
- 0.2
- Author:
- Erich Schubert
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Constructor Summary
Constructors Constructor Description NullAlgorithm()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Voidautorun(Database database)Try to auto-run the algorithm on a database by calling a method calledrun, with an optionalDatabasefirst, and with data relations as specified byAlgorithm.getInputTypeRestriction().TypeInformation[]getInputTypeRestriction()Get the input type restriction used for negotiating the data query.
-
-
-
Method Detail
-
autorun
public java.lang.Void autorun(Database database)
Description copied from interface:AlgorithmTry to auto-run the algorithm on a database by calling a method calledrun, with an optionalDatabasefirst, and with data relations as specified byAlgorithm.getInputTypeRestriction().
-
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
Description copied from interface:AlgorithmGet the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestrictionin interfaceAlgorithm- Returns:
- Type restriction
-
-