|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<Result>
de.lmu.ifi.dbs.elki.algorithm.NullAlgorithm
@Title(value="Null Algorithm") @Description(value="Algorithm which does nothing, just return a null object.") public class NullAlgorithm

Null Algorithm, which does nothing. Can be used to e.g. just visualize a data set.
| Field Summary | |
|---|---|
private static Logging |
logger
The logger for this class. |
| Constructor Summary | |
|---|---|
NullAlgorithm()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm |
|---|
makeParameterDistanceFunction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Logging logger
| Constructor Detail |
|---|
public NullAlgorithm()
| Method Detail |
|---|
public Result run(Database database)
throws IllegalStateException
Algorithm
run in interface Algorithmrun in class AbstractAlgorithm<Result>database - the database to run the algorithm on
IllegalStateException - if the algorithm has not been initialized
properly (e.g. the setParameters(String[]) method has been failed
to be called).protected Logging getLogger()
AbstractAlgorithm
getLogger in class AbstractAlgorithm<Result>public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction in interface AlgorithmgetInputTypeRestriction in class AbstractAlgorithm<Result>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||