javax.datamining.algorithm.kmeans
Interface KMeansSettingsFactory

All Superinterfaces:
Factory

public interface KMeansSettingsFactory
extends Factory

A factory class that creates instances of KMeansSettings.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Factory

Method Summary
 KMeansSettings create()
          Creates an instance of KMeansSettings initialized to vendor-specified default values.
 boolean supportsCapability(ClusteringDistanceFunction distanceFunction)
          Returns true if the specified distance function is supported in the implementation of the JDM being used.
 boolean supportsCapability(KMeansCapability capability)
          Returns true if the specified capability is supported in the implementation of the JDM being used.
 

Method Detail

create

public KMeansSettings create()
                      throws JDMException
Creates an instance of KMeansSettings initialized to vendor-specified default values.

Returns:
KMeansSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(ClusteringDistanceFunction distanceFunction)
                           throws JDMException
Returns true if the specified distance function is supported in the implementation of the JDM being used. Retruns false otherwise.

Parameters:
distanceFunction -
Returns:
boolean
Throws:
JDMException

supportsCapability

public boolean supportsCapability(KMeansCapability capability)
                           throws JDMException
Returns true if the specified capability is supported in the implementation of the JDM being used. Retruns false otherwise.

Parameters:
capability - An enumeration value that represents a specific capability.
Returns:
boolean
Throws:
JDMException