de.lmu.ifi.dbs.elki.algorithm.outlier.trivial
Class TrivialAllOutlier
java.lang.Object
de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
de.lmu.ifi.dbs.elki.algorithm.outlier.trivial.TrivialAllOutlier
- All Implemented Interfaces:
- Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable
public class TrivialAllOutlier
- extends AbstractAlgorithm<OutlierResult>
- implements OutlierAlgorithm
Trivial method that claims all objects to be outliers. Can be used as
reference algorithm in comparisons.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static final Logging logger
- Our logger.
TrivialAllOutlier
public TrivialAllOutlier()
- Constructor.
getInputTypeRestriction
public TypeInformation[] getInputTypeRestriction()
- Description copied from class:
AbstractAlgorithm
- Get the input type restriction used for negotiating the data query.
- Specified by:
getInputTypeRestriction
in interface Algorithm
- Specified by:
getInputTypeRestriction
in class AbstractAlgorithm<OutlierResult>
- Returns:
- Type restriction
run
public OutlierResult run(Relation<?> relation)
- Run the actual algorithm.
- Parameters:
relation
- Relation
- Returns:
- Result
getLogger
protected Logging getLogger()
- Description copied from class:
AbstractAlgorithm
- Get the (STATIC) logger for this class.
- Specified by:
getLogger
in class AbstractAlgorithm<OutlierResult>
- Returns:
- the static logger