O
- the type of DatabaseObjects handled by the algorithm@Reference(authors="Mihael Ankerst, Markus M. Breunig, Hans-Peter Kriegel, J\u00f6rg Sander", title="OPTICS: Ordering Points to Identify the Clustering Structure", booktitle="Proc. ACM SIGMOD Int. Conf. on Management of Data (SIGMOD \'99)", url="https://doi.org/10.1145/304181.304187", bibkey="DBLP:conf/sigmod/AnkerstBKS99") @Alias(value={"OPTICS","de.lmu.ifi.dbs.elki.algorithm.clustering.OPTICS"}) public abstract class AbstractOPTICS<O> extends AbstractDistanceBasedAlgorithm<O,ClusterOrder> implements OPTICSTypeAlgorithm
This is the abstract base class, providing the shared parameters only.
Reference:
Mihael Ankerst, Markus M. Breunig, Hans-Peter Kriegel, Jörg Sander
OPTICS: Ordering Points to Identify the Clustering Structure
Proc. ACM SIGMOD Int. Conf. on Management of Data (SIGMOD '99)
Modifier and Type | Class and Description |
---|---|
static class |
AbstractOPTICS.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected double |
epsilon
Holds the maximum distance to search for objects (performance parameter)
|
protected int |
minpts
The density threshold, in number of points.
|
ALGORITHM_ID
DISTANCE_FUNCTION_ID
Constructor and Description |
---|
AbstractOPTICS(DistanceFunction<? super O> distanceFunction,
double epsilon,
int minpts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
int |
getMinPts()
Get the minpts value used.
|
abstract ClusterOrder |
run(Database db,
Relation<O> relation)
Run OPTICS on the database.
|
getDistanceFunction
getLogger, run
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected double epsilon
protected int minpts
public AbstractOPTICS(DistanceFunction<? super O> distanceFunction, double epsilon, int minpts)
distanceFunction
- Distance functionepsilon
- Epsilon valueminpts
- Minpts valuepublic abstract ClusterOrder run(Database db, Relation<O> relation)
db
- Databaserelation
- Relationpublic int getMinPts()
OPTICSTypeAlgorithm
getMinPts
in interface OPTICSTypeAlgorithm
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<ClusterOrder>
Copyright © 2019 ELKI Development Team. License information.