Class DeLiCluLeafEntry

    • Field Detail

      • hasHandled

        private boolean hasHandled
        Indicates that the node (or its child nodes) which is represented by this entry contains handled data objects.
      • hasUnhandled

        private boolean hasUnhandled
        Indicates that the node (or its child nodes) which is represented by this entry contains unhandled data objects.
    • Constructor Detail

      • DeLiCluLeafEntry

        public DeLiCluLeafEntry()
        Empty constructor for serialization purposes.
      • DeLiCluLeafEntry

        public DeLiCluLeafEntry​(DBID id,
                                NumberVector vector)
        Constructs a new LeafEntry object with the given parameters.
        Parameters:
        id - the unique id of the underlying data object
        vector - the vector to store
    • Method Detail

      • hasHandled

        public boolean hasHandled()
        Description copied from interface: DeLiCluEntry
        Returns true, if the node (or its child nodes) which is represented by this entry contains handled data objects.
        Specified by:
        hasHandled in interface DeLiCluEntry
        Returns:
        true, if the node (or its child nodes) which is represented by this entry contains handled data objects, false otherwise.
      • hasUnhandled

        public boolean hasUnhandled()
        Description copied from interface: DeLiCluEntry
        Returns true, if the node (or its child nodes) which is represented by this entry contains unhandled data objects.
        Specified by:
        hasUnhandled in interface DeLiCluEntry
        Returns:
        true, if the node (or its child nodes) which is represented by this entry contains unhandled data objects, false otherwise.
      • setHasHandled

        public void setHasHandled​(boolean hasHandled)
        Description copied from interface: DeLiCluEntry
        Sets the flag to marks the node (or its child nodes) which is represented by this entry to contain handled data objects.
        Specified by:
        setHasHandled in interface DeLiCluEntry
        Parameters:
        hasHandled - the flag to be set
      • setHasUnhandled

        public void setHasUnhandled​(boolean hasUnhandled)
        Description copied from interface: DeLiCluEntry
        Sets the flag to marks the node (or its child nodes) which is represented by this entry to contain unhandled data objects.
        Specified by:
        setHasUnhandled in interface DeLiCluEntry
        Parameters:
        hasUnhandled - the flag to be set
      • toString

        public java.lang.String toString()
        Returns the id as a string representation of this entry.
        Specified by:
        toString in interface FeatureVector<java.lang.Number>
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this entry