ca.pfv.spmf.algorithms.sequential_rules.cmdeogun
Class Rules
- java.lang.Object
-
- ca.pfv.spmf.algorithms.sequential_rules.cmdeogun.Rules
-
public class Rules extends java.lang.ObjectThis class represents a group of sequential rules found by the CMDeo algorithm.- See Also:
AlgoCMDeogun,Itemset,Rule
-
-
Constructor Summary
Constructors Constructor and Description Rules(java.lang.String name)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Rule>getRules()Get the list of rules.intgetRulesCount()Get the number of rules in this group.voidprintRules(int objectsCount)Print this group of rules to System.out.
-
-
-
Constructor Detail
-
Rules
public Rules(java.lang.String name)
Constructor- Parameters:
name- a name that should be given to this set of rules (string)
-
-
Method Detail
-
printRules
public void printRules(int objectsCount)
Print this group of rules to System.out.- Parameters:
objectsCount- the number of sequences in the sequence database
-
getRulesCount
public int getRulesCount()
Get the number of rules in this group.- Returns:
- a int.
-
getRules
public java.util.List<Rule> getRules()
Get the list of rules.- Returns:
- A List
object
-
-
DMelt 3.0 © DataMelt by jWork.ORG