Package elki.outlier.trivial
Class TrivialAllOutlier
- java.lang.Object
-
- elki.outlier.trivial.TrivialAllOutlier
-
- All Implemented Interfaces:
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface elki.Algorithm
Algorithm.Utils
-
-
Constructor Summary
Constructors Constructor Description TrivialAllOutlier()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation[]
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.OutlierResult
run(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 TypeInformation[] getInputTypeRestriction()
Description copied from interface:Algorithm
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceAlgorithm
- Returns:
- Type restriction
-
run
public OutlierResult run(Relation<?> relation)
Run the trivial algorithm.- Parameters:
relation
- Relation- Returns:
- Result
-
-