Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class RuleSortCriteria

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.RuleSortCriteria
All Implemented Interfaces:
java.io.Serializable

public class RuleSortCriteria
extends Enum

The enumeration class RuleSortCriteria provides options for sorting mining rules retrieved from an Association Rules model. The sorting criteria include confidence and support. The semantics of the value are as follows:

See Also:
Serialized Form

Field Summary
static RuleSortCriteria confidence
          Sort by the confidence associated with each rule in the rule set.
static RuleSortCriteria ruleID
          Sort by the rule identifier.
static RuleSortCriteria ruleLength
          Sort by the rule length.
static RuleSortCriteria support
          Sort by the support associated with each rule in the rule set.

 

Method Summary
static RuleSortCriteria getInstance(int id)
          Returns an instance of RuleSortCriteria enumeration that corresponds to the specified identifier.
static RuleSortCriteria getInstance(java.lang.String name)
          Returns an instance of RuleSortCriteria enumeration that corresponds to the specified name.
static RuleSortCriteria[] list()
          Returns the list of all RuleSortCriteria enumerations defined.
static java.lang.String[] listNames()
          Returns the list of names of all RuleSortCriteria enumerations defined.

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

support

public static final RuleSortCriteria support
Sort by the support associated with each rule in the rule set.

confidence

public static final RuleSortCriteria confidence
Sort by the confidence associated with each rule in the rule set.

ruleLength

public static final RuleSortCriteria ruleLength
Sort by the rule length.

ruleID

public static final RuleSortCriteria ruleID
Sort by the rule identifier.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns the list of names of all RuleSortCriteria enumerations defined.
Returns:
array of names for the RuleSortCriteria enumeration

list

public static RuleSortCriteria[] list()
Returns the list of all RuleSortCriteria enumerations defined.
Returns:
array of enumeration values for the RuleSortCriteria enumeration

getInstance

public static RuleSortCriteria getInstance(java.lang.String name)
Returns an instance of RuleSortCriteria enumeration that corresponds to the specified name.
Parameters:
name - of the value of the enumeration
Returns:
instance of the RuleSortCriteria enumeration object corresponding to the given name, null if there is no enumeration for this name.

getInstance

public static RuleSortCriteria getInstance(int id)
Returns an instance of RuleSortCriteria enumeration that corresponds to the specified identifier.
Parameters:
id - The identifier of the enumeration.
Returns:
instance of the RuleSortCriteria enumeration object corresponding to the given id, null if there is no enumeration for id.

Copyright © 2003 Oracle Corporation. All Rights Reserved.