Class GreedyKCenter.Par<O>

  • Type Parameters:
    O - object type to cluster
    All Implemented Interfaces:
    elki.utilities.optionhandling.Parameterizer
    Enclosing class:
    GreedyKCenter<O>

    public static class GreedyKCenter.Par<O>
    extends java.lang.Object
    implements elki.utilities.optionhandling.Parameterizer
    Parameterization class
    Author:
    Robert Gehde, Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) elki.distance.Distance<? super O> distance
      Distance function to use
      (package private) int k
      number of clusters
      static elki.utilities.optionhandling.OptionID K_ID
      Parameter to specify the number of clusters
      (package private) elki.utilities.random.RandomFactory rand
      Random factory for choosing the first element.
      static elki.utilities.optionhandling.OptionID RANDOM_ID
      Parameter for the random seed
    • Constructor Summary

      Constructors 
      Constructor Description
      Par()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(elki.utilities.optionhandling.parameterization.Parameterization config)  
      GreedyKCenter<O> make()  
      • Methods inherited from class java.lang.Object

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

      • K_ID

        public static final elki.utilities.optionhandling.OptionID K_ID
        Parameter to specify the number of clusters
      • RANDOM_ID

        public static final elki.utilities.optionhandling.OptionID RANDOM_ID
        Parameter for the random seed
      • distance

        elki.distance.Distance<? super O> distance
        Distance function to use
      • k

        int k
        number of clusters
      • rand

        elki.utilities.random.RandomFactory rand
        Random factory for choosing the first element.
    • Constructor Detail

      • Par

        public Par()
    • Method Detail

      • configure

        public void configure​(elki.utilities.optionhandling.parameterization.Parameterization config)
        Specified by:
        configure in interface elki.utilities.optionhandling.Parameterizer
      • make

        public GreedyKCenter<O> make()
        Specified by:
        make in interface elki.utilities.optionhandling.Parameterizer