Package elki.clustering.subspace
Class P3C.Signature
- java.lang.Object
-
- elki.clustering.subspace.P3C.Signature
-
- Enclosing class:
- P3C
private static class P3C.Signature extends java.lang.ObjectP3C Cluster signature.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFirstDim()Find the first dimension set in this signature.booleanisSuperset(P3C.Signature other)Test whether this is a superset of the other signature.java.lang.StringtoString()
-
-
-
Field Detail
-
spec
int[] spec
Subspace specification
-
ids
DBIDs ids
Object ids.
-
prune
boolean prune
Pruning flag.
-
-
Constructor Detail
-
Signature
private Signature(int[] spec, DBIDs ids)Constructor.- Parameters:
spec- Subspace specificationids- IDs.
-
-
Method Detail
-
isSuperset
public boolean isSuperset(P3C.Signature other)
Test whether this is a superset of the other signature.- Parameters:
other- Other signature.- Returns:
truewhen this is a superset.
-
getFirstDim
public int getFirstDim()
Find the first dimension set in this signature.- Returns:
- Dimension
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-