|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lmu.ifi.dbs.elki.index.tree.AbstractEntry
de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialLeafEntry
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.deliclu.DeLiCluLeafEntry
public class DeLiCluLeafEntry
Defines the requirements for a leaf entry in an DeLiClu-Tree node. Additionally to a leaf entry in an R*-Tree two boolean flags that indicate whether this entry's node contains handled or unhandled data objects.
Field Summary | |
---|---|
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 Summary | |
---|---|
DeLiCluLeafEntry()
Empty constructor for serialization purposes. |
|
DeLiCluLeafEntry(int id,
double[] values)
Constructs a new LeafEntry object with the given parameters. |
Method Summary | |
---|---|
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. |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialLeafEntry |
---|
getDimensionality, getMax, getMBR, getMin, getValues, isLeafEntry, readExternal, setMBR, writeExternal |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.AbstractEntry |
---|
equals, getID, hashCode, setID |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialEntry |
---|
getMBR, setMBR |
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.Entry |
---|
getID, isLeafEntry, setID |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Methods inherited from interface de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialComparable |
---|
getDimensionality, getMax, getMin |
Field Detail |
---|
private static final long serialVersionUID
private boolean hasHandled
private boolean hasUnhandled
Constructor Detail |
---|
public DeLiCluLeafEntry()
public DeLiCluLeafEntry(int id, double[] values)
id
- the unique id of the underlying data objectvalues
- the values of the underlying data objectMethod Detail |
---|
public 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 class AbstractEntry
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |