public interface Algorithm
Any implementation needs not to take care of input nor output, parsing and so on. Those tasks are performed by the framework. An algorithm simply needs to ask for parameters that are algorithm specific.
Note: Any implementation is supposed to provide a constructor without parameters (default constructor).
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
Result |
run(Database database)
Runs the algorithm.
|
Result run(Database database)
database
- the database to run the algorithm onTypeInformation[] getInputTypeRestriction()
Copyright © 2019 ELKI Development Team. License information.