Documentation of 'ca.pfv.spmf.algorithms.frequentpatterns.uapriori.ItemUApriori' Java class
ItemUApriori
ca.pfv.spmf.algorithms.frequentpatterns.uapriori

Class ItemUApriori

    • Constructor Summary

      Constructors 
      Constructor and Description
      ItemUApriori(int id, double probability)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object object)
      Check if this item is equal to another.
      int getId()
      Get the item id.
      double getProbability()
      Get the existential probability associated to this item
      int hashCode()
      Generate an hash code for that item.
      java.lang.String toString()
      Get a string representation of this item.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ItemUApriori

        public ItemUApriori(int id,
                            double probability)
        Constructor
        Parameters:
        id - id ot the item
        probability - the existential proability
    • Method Detail

      • getId

        public int getId()
        Get the item id.
        Returns:
        a int.
      • toString

        public java.lang.String toString()
        Get a string representation of this item.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string
      • equals

        public boolean equals(java.lang.Object object)
        Check if this item is equal to another.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        object - another item
        Returns:
        true if equal, otherwise false.
      • hashCode

        public int hashCode()
        Generate an hash code for that item.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        an hash code as a int.
      • getProbability

        public double getProbability()
        Get the existential probability associated to this item
        Returns:
        the probability as a double

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.