javax.datamining.association
Interface AssociationSettingsFactory

All Superinterfaces:
Factory

public interface AssociationSettingsFactory
extends Factory

A factory class that creates instances of AssociationSettings.

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

Method Summary
 AssociationSettings create()
          Creates an instance AssociationRulesFunctionSettings initaizlied with vendor-specific default values.
 boolean supportsCapability(AssociationCapability capability)
          Returns true if the specified capability is supported in the implementation of the JDM being used.
 boolean supportsCapability(MiningAlgorithm algorithm, AssociationCapability capability)
          Returns true if the specified capability is supported by the specified association algorithm.
 

Method Detail

create

public AssociationSettings create()
                           throws JDMException
Creates an instance AssociationRulesFunctionSettings initaizlied with vendor-specific default values.

Returns:
AssociationSettings
Throws:
JDMException

supportsCapability

public boolean supportsCapability(AssociationCapability 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

supportsCapability

public boolean supportsCapability(MiningAlgorithm algorithm,
                                  AssociationCapability capability)
                           throws JDMException
Returns true if the specified capability is supported by the specified association algorithm. Returns false if the algorithm does not support the specified capability. Throws an exception if the algorithm is not one of the supported association algorithms.

Parameters:
algorithm -
capability -
Returns:
boolean
Throws:
JDMException