public class DeLiCluLeafEntry extends SpatialPointLeafEntry implements DeLiCluEntry
NumberVector.Factory<V extends NumberVector>
Modifier and Type | Field and Description |
---|---|
private boolean |
hasHandled
Indicates that the node (or its child nodes) which is represented by this
entry contains handled data objects.
|
private boolean |
hasUnhandled
Indicates that the node (or its child nodes) which is represented by this
entry contains unhandled data objects.
|
private static long |
serialVersionUID |
ATTRIBUTE_SEPARATOR, FIELD, FIELD_1D, FIELD_2D, VARIABLE_LENGTH
TYPE
Constructor and Description |
---|
DeLiCluLeafEntry()
Empty constructor for serialization purposes.
|
DeLiCluLeafEntry(DBID id,
NumberVector vector)
Constructs a new LeafEntry object with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasHandled()
Returns true, if the node (or its child nodes) which is represented by this entry
contains handled data objects.
|
boolean |
hasUnhandled()
Returns true, if the node (or its child nodes) which is represented by this entry
contains unhandled data objects.
|
void |
setHasHandled(boolean hasHandled)
Sets the flag to marks the node (or its child nodes) which is represented by this entry
to contain handled data objects.
|
void |
setHasUnhandled(boolean hasUnhandled)
Sets the flag to marks the node (or its child nodes) which is represented by this entry
to contain unhandled data objects.
|
java.lang.String |
toString()
Returns the id as a string representation of this entry.
|
doubleValue, equals, getDBID, getDimensionality, hashCode, longValue, readExternal, toArray, writeExternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDimensionality, getMax, getMin
byteValue, floatValue, getMax, getMin, getValue, intValue, shortValue
private static final long serialVersionUID
private boolean hasHandled
private boolean hasUnhandled
public DeLiCluLeafEntry()
public DeLiCluLeafEntry(DBID id, NumberVector vector)
id
- the unique id of the underlying data objectvector
- the vector to storepublic boolean hasHandled()
DeLiCluEntry
hasHandled
in interface DeLiCluEntry
public boolean hasUnhandled()
DeLiCluEntry
hasUnhandled
in interface DeLiCluEntry
public void setHasHandled(boolean hasHandled)
DeLiCluEntry
setHasHandled
in interface DeLiCluEntry
hasHandled
- the flag to be setpublic void setHasUnhandled(boolean hasUnhandled)
DeLiCluEntry
setHasUnhandled
in interface DeLiCluEntry
hasUnhandled
- the flag to be setpublic java.lang.String toString()
toString
in interface FeatureVector<java.lang.Number>
toString
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.