Class CoreObjectsModel

  • All Implemented Interfaces:
    Model, elki.result.textwriter.TextWriteable

    public class CoreObjectsModel
    extends java.lang.Object
    implements Model, elki.result.textwriter.TextWriteable
    Cluster model using "core" objects. Currently only used by the Generalized DBSCAN implementation when the -gdbscan.core-model flag is set.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) elki.database.ids.DBIDs core
      Objects that are part of the cluster core.
      • Fields inherited from interface elki.data.model.Model

        TYPE
    • Constructor Summary

      Constructors 
      Constructor Description
      CoreObjectsModel​(elki.database.ids.DBIDs core)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      elki.database.ids.DBIDs getCoreObjects()
      Get the core object IDs.
      java.lang.String toString()  
      void writeToText​(elki.result.textwriter.TextWriterStream out, java.lang.String label)
      Default implementation of TextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • core

        elki.database.ids.DBIDs core
        Objects that are part of the cluster core.
    • Constructor Detail

      • CoreObjectsModel

        public CoreObjectsModel​(elki.database.ids.DBIDs core)
        Constructor.
        Parameters:
        core - Core objects
    • Method Detail

      • getCoreObjects

        public elki.database.ids.DBIDs getCoreObjects()
        Get the core object IDs.
        Returns:
        Core object IDs
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • writeToText

        public void writeToText​(elki.result.textwriter.TextWriterStream out,
                                java.lang.String label)
        Description copied from interface: Model
        Default implementation of TextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String). Note: we deliberately do not implement TextWriteable!
        Specified by:
        writeToText in interface Model
        Specified by:
        writeToText in interface elki.result.textwriter.TextWriteable
        Parameters:
        out - Output steam
        label - Optional label to prefix