Class AssociationRules

    • Constructor Detail

      • AssociationRules

        public AssociationRules​(List<AssociationRule> rules,
                                String producer)
        Constructs a new AssociationRules.
        Parameters:
        rules - the list of rules.
        producer - a string describing the scheme that produced these rules.
      • AssociationRules

        public AssociationRules​(List<AssociationRule> rules,
                                Object producer)
        Constructs a new AssociationRules.
        Parameters:
        rules - the list of rules.
        producer - the scheme that produced the rules.
      • AssociationRules

        public AssociationRules​(List<AssociationRule> rules)
        Constructs a new AssociationRules.
        Parameters:
        rules - the list of rules.
    • Method Detail

      • setRules

        public void setRules​(List<AssociationRule> rules)
        Set the rules to use.
        Parameters:
        rules - the rules to use.
      • getNumRules

        public int getNumRules()
        Get the number of rules.
        Returns:
        the number of rules.
      • setProducer

        public void setProducer​(String producer)
        Set a textual description of the scheme that produced these rules.
        Parameters:
        producer - a textual description of the scheme that produced these rules.
      • getProducer

        public String getProducer()
        Get a string describing the scheme that produced these rules.
        Returns:
        producer