Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.utilities.referencepoints
Class StarBasedReferencePoints<O extends NumberVector<O,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.referencepoints.StarBasedReferencePoints<O>
Type Parameters:
O - Object type
All Implemented Interfaces:
Parameterizable, ReferencePointsHeuristic<O>

public class StarBasedReferencePoints<O extends NumberVector<O,?>>
extends AbstractLoggable
implements ReferencePointsHeuristic<O>

Star-based strategy to pick reference points.

Author:
Erich Schubert

Field Summary
protected  boolean nocenter
          Holds the value of NOCENTER_FLAG.
private  Flag NOCENTER_FLAG
          Parameter to specify the grid resolution.
static OptionID NOCENTER_ID
          OptionID for NOCENTER_FLAG
protected  double scale
          Holds the value of SCALE_PARAM.
static OptionID SCALE_ID
          OptionID for SCALE_PARAM
private  DoubleParameter SCALE_PARAM
          Parameter to specify the extra scaling of the space, to allow out-of-data-space reference points.
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug, logger
 
Constructor Summary
StarBasedReferencePoints(Parameterization config)
          Constructor, adhering to Parameterizable
 
Method Summary
 Collection<O> getReferencePoints(Database<O> db)
          Get the reference points for the given database.
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, progress, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOCENTER_ID

public static final OptionID NOCENTER_ID
OptionID for NOCENTER_FLAG


NOCENTER_FLAG

private final Flag NOCENTER_FLAG
Parameter to specify the grid resolution.

Key: -star.nocenter


SCALE_ID

public static final OptionID SCALE_ID
OptionID for SCALE_PARAM


SCALE_PARAM

private final DoubleParameter SCALE_PARAM
Parameter to specify the extra scaling of the space, to allow out-of-data-space reference points.

Key: -star.scale


nocenter

protected boolean nocenter
Holds the value of NOCENTER_FLAG.


scale

protected double scale
Holds the value of SCALE_PARAM.

Constructor Detail

StarBasedReferencePoints

public StarBasedReferencePoints(Parameterization config)
Constructor, adhering to Parameterizable

Parameters:
config - Parameterization
Method Detail

getReferencePoints

public Collection<O> getReferencePoints(Database<O> db)
Description copied from interface: ReferencePointsHeuristic
Get the reference points for the given database.

Specified by:
getReferencePoints in interface ReferencePointsHeuristic<O extends NumberVector<O,?>>
Parameters:
db - Database
Returns:
Collection of reference points.

Release 0.3 (2010-03-31_1612)