public class DomAprioriAlg
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static int |
AT_LEAST |
Denotes at least relation
|
static int |
AT_MOST |
Denotes at most relation
|
static int |
CERTAIN |
Denotes certain rules.
|
static int |
POSSIBLE |
Denotes possible rules
|
Constructor | Description |
---|---|
DomAprioriAlg() |
Modifier and Type | Method | Description |
---|---|---|
RulesContainer |
generateRules(MemoryContainer container,
int ruletype,
double strengthPercent,
double consistencyLevel,
int maxLegnth) |
Generates rules according to DomApriori algorithm
|
public static final int CERTAIN
public static final int POSSIBLE
public static final int AT_LEAST
public static final int AT_MOST
public RulesContainer generateRules(MemoryContainer container, int ruletype, double strengthPercent, double consistencyLevel, int maxLegnth)
container
- memory container objectruletype
- Type of generated rules. It can be CERTAIN (for VCDRSA) or
CERATIN or APPROXIMATE (for DRSA).strengthPercent
- Minimal strength in percentconsistencyLevel
- Consistency levelmaxLegnth
- Maximal rule lengthjmaf.core.exceptions.CannotCalculateException
- When cannot calculate rules. Exception's message stores
failure reason.