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.
- See Also:
- Serialized Form
Type | Method |
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 a list of all instances of RuleSortCriteria enumerations. |
static java.lang.String[] |
listNames()
Returns a list of the values available in enumeration
RuleSortCriteria . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
listNames
public static java.lang.String[] listNames()
- Returns a list of the values available in enumeration
RuleSortCriteria
.
- Returns:
- String[] - The values of the enumeration
list
public static RuleSortCriteria[] list()
- Returns a list of all instances of
RuleSortCriteria
enumerations.
- Returns:
- RuleSortCriteria[] - The instances of
RuleSortCriteria
getInstance
public static RuleSortCriteria getInstance(java.lang.String name)
- Returns an instance of
RuleSortCriteria
enumeration
that corresponds to the specified name.
- Parameters:
name
- The value of the enumeration- Returns:
- RuleSortCriteria - An instance of
RuleSortCriteria
which
contains a value that matches to the specified 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:
- RuleSortCriteria - An instance of
RuleSortCriteria
which
contains a value that matches to the specified identifier.