public class DeLiCluLeafEntry extends SpatialPointLeafEntry implements DeLiCluEntry
NumberVector.Factory<V extends NumberVector<? extends N>,N extends Number>
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 |
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.
|
String |
toString()
Returns the id as a string representation of this entry.
|
byteValue, doubleValue, floatValue, getColumnVector, getDimensionality, getMax, getMin, getValue, getValues, intValue, longValue, readExternal, shortValue, writeExternal
equals, getDBID, hashCode, isLeafEntry
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isLeafEntry
readExternal, writeExternal
getDimensionality, getMax, getMin
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 String toString()
toString
in interface FeatureVector<Double>
toString
in class AbstractLeafEntry