Class SimplePrototypeModel<V>

    • Field Detail

      • prototype

        protected V prototype
        Cluster prototype
    • Constructor Detail

      • SimplePrototypeModel

        public SimplePrototypeModel​(V prototype)
        Constructor with prototype
        Parameters:
        prototype - Cluster prototype
    • Method Detail

      • prototypeToString

        protected java.lang.String prototypeToString()
        Format the prototype as string.
        Returns:
        Prototype
      • getPrototypeType

        public java.lang.String getPrototypeType()
        Description copied from interface: PrototypeModel
        Type of prototype (Median, Mean, ...) for printing.
        Specified by:
        getPrototypeType in interface PrototypeModel<V>
        Returns:
        String name
      • toString

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