R - the result typepublic abstract class AbstractAlgorithm<R extends Result> extends java.lang.Object implements Algorithm
| Modifier and Type | Field and Description |
|---|---|
static OptionID |
ALGORITHM_ID
Parameter to specify the algorithm to run.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAlgorithm()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected abstract Logging |
getLogger()
Get the (STATIC) logger for this class.
|
R |
run(Database database)
Runs the algorithm.
|
public static final OptionID ALGORITHM_ID
public R run(Database database)
Algorithmpublic abstract TypeInformation[] getInputTypeRestriction()
getInputTypeRestriction in interface Algorithmprotected abstract Logging getLogger()
Copyright © 2019 ELKI Development Team. License information.