Package elki
Class Algorithm.Utils
- java.lang.Object
-
- elki.Algorithm.Utils
-
- Enclosing interface:
- Algorithm
public static final class Algorithm.Utils extends java.lang.ObjectShared functionality- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description static OptionIDALGORITHM_IDParameter to specify the algorithm to run.static OptionIDDISTANCE_FUNCTION_IDOptionID for the distance function.
-
Constructor Summary
Constructors Modifier Constructor Description privateUtils()Static utility class.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Objectautorun(Algorithm a, 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().
-
-
-
Method Detail
-
autorun
public static java.lang.Object autorun(Algorithm a, 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().- Parameters:
a- Algorithm to run ondatabase- the database to run the algorithm on- Returns:
- the Result computed by this algorithm
-
-