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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.algorithm.AbstractAlgorithm<OutlierResult>
      extended by de.lmu.ifi.dbs.elki.algorithm.outlier.trivial.TrivialNoOutlier
All Implemented Interfaces:
Algorithm, OutlierAlgorithm, InspectionUtilFrequentlyScanned, Parameterizable

public class TrivialNoOutlier
extends AbstractAlgorithm<OutlierResult>
implements OutlierAlgorithm

Trivial method that claims to find no outliers. Can be used as reference algorithm in comparisons.


Field Summary
private static Logging logger
          Our logger.
 
Constructor Summary
TrivialNoOutlier()
          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

TrivialNoOutlier

public TrivialNoOutlier()
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)
                  throws IllegalStateException
Run the actual algorithm.

Parameters:
relation - Relation
Returns:
Result
Throws:
IllegalStateException

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)