public class CASHIntervalSplit extends Object
Modifier and Type | Field and Description |
---|---|
private Relation<ParameterizationFunction> |
database
The database storing the parameterization functions.
|
private Map<HyperBoundingBox,Map<DBID,Double>> |
f_maxima
Caches maximum function values for given intervals, used for better split
performance.
|
private Map<HyperBoundingBox,Map<DBID,Double>> |
f_minima
Caches minimum function values for given intervals, used for better split
performance.
|
private static Logging |
logger
The logger of the class.
|
private int |
minPts
Minimum points.
|
Constructor and Description |
---|
CASHIntervalSplit(Relation<ParameterizationFunction> database,
int minPts)
Initializes the logger and sets the debug status to the given value.
|
Modifier and Type | Method and Description |
---|---|
ModifiableDBIDs |
determineIDs(DBIDs superSetIDs,
HyperBoundingBox interval,
double d_min,
double d_max)
Determines the ids belonging to the given interval, i.e. the
parameterization functions falling within the interval.
|
private Relation<ParameterizationFunction> database
private Map<HyperBoundingBox,Map<DBID,Double>> f_minima
private Map<HyperBoundingBox,Map<DBID,Double>> f_maxima
private int minPts
private static final Logging logger
public CASHIntervalSplit(Relation<ParameterizationFunction> database, int minPts)
database
- the database storing the parameterization functionsminPts
- the number of minimum pointspublic ModifiableDBIDs determineIDs(DBIDs superSetIDs, HyperBoundingBox interval, double d_min, double d_max)
superSetIDs
- a superset of the ids to be determinedinterval
- the hyper bounding box defining the interval of alpha
valuesd_min
- the minimum distance value for the intervald_max
- the maximum distance value for the interval