de.lmu.ifi.dbs.elki.algorithm.outlier.trivial
Class TrivialAllOutlier

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
      extended by 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.


Field Summary
private static Logging logger
          Our logger.
 
Constructor Summary
TrivialAllOutlier()
          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.
 OutlierResult run(Relation<?> relation)
          Run the actual algorithm.
 
Methods inherited from class de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm
makeParameterDistanceFunction, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.algorithm.outlier.OutlierAlgorithm
run
 

Field Detail

logger

private static final Logging logger
Our logger.

Constructor Detail

TrivialAllOutlier

public TrivialAllOutlier()
Constructor.

Method Detail

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

Release 0.4.0 (2011-09-20_1324)