Package elki.outlier.trivial
Class TrivialAllOutlier
- java.lang.Object
-
- elki.outlier.trivial.TrivialAllOutlier
-
- All Implemented Interfaces:
elki.Algorithm,OutlierAlgorithm
@Priority(-150) public class TrivialAllOutlier extends java.lang.Object implements OutlierAlgorithm
Trivial method that claims all objects to be outliers. Can be used as reference algorithm in comparisons.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description TrivialAllOutlier()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elki.data.type.TypeInformation[]getInputTypeRestriction()OutlierResultrun(elki.database.relation.Relation<?> relation)Run the trivial algorithm.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.outlier.OutlierAlgorithm
autorun
-
-
-
-
Method Detail
-
getInputTypeRestriction
public elki.data.type.TypeInformation[] getInputTypeRestriction()
- Specified by:
getInputTypeRestrictionin interfaceelki.Algorithm
-
run
public OutlierResult run(elki.database.relation.Relation<?> relation)
Run the trivial algorithm.- Parameters:
relation- Relation- Returns:
- Result
-
-