Documentation of 'ca.pfv.spmf.algorithms.sequential_rules.cmrules.Rules' Java class
Rules
ca.pfv.spmf.algorithms.sequential_rules.cmrules

Class Rules



  • public class Rules
    extends java.lang.Object
    This class represents a group of sequential rules returned by the CMRules algorithm.
    See Also:
    AlgoCMRules, 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.
      int getRulesCount()
      Get the number of rules in this group.
      void printRules(int objectsCount)
      Print this group of rules to System.out.
      java.lang.String toString(int objectsCount)
      Get of string representatio of the rule
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • toString

        public java.lang.String toString(int objectsCount)
        Get of string representatio of the rule
        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

You see the box below because you did not login.