|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.index.tree.AbstractDirectoryEntry de.lmu.ifi.dbs.elki.index.tree.spatial.SpatialDirectoryEntry de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.deliclu.DeLiCluDirectoryEntry
public class DeLiCluDirectoryEntry
Defines the requirements for a directory entry in an DeLiClu-Tree node. Additionally to a directory 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 | |
---|---|
DeLiCluDirectoryEntry()
Empty constructor for serialization purposes. |
|
DeLiCluDirectoryEntry(int id,
HyperBoundingBox mbr,
boolean hasHandled,
boolean hasUnhandled)
Constructs a new DeLiCluDirectoryEntry 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.SpatialDirectoryEntry |
---|
getDimensionality, getMax, getMin, readExternal, setMBR, writeExternal |
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.AbstractDirectoryEntry |
---|
equals, getEntryID, getPageID, hashCode, isLeafEntry |
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.Entry |
---|
isLeafEntry |
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Methods inherited from interface de.lmu.ifi.dbs.elki.data.spatial.SpatialComparable |
---|
getDimensionality, getMax, getMin |
Field Detail |
---|
private static final long serialVersionUID
private boolean hasHandled
private boolean hasUnhandled
Constructor Detail |
---|
public DeLiCluDirectoryEntry()
public DeLiCluDirectoryEntry(int id, HyperBoundingBox mbr, boolean hasHandled, boolean hasUnhandled)
id
- the unique id of the underlying spatial nodembr
- the minimum bounding rectangle of the underlying spatial nodehasHandled
- indicates if this entry has handled nodeshasUnhandled
- indicates if this entry has unhandled nodesMethod 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 AbstractDirectoryEntry
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |