Class FPNode


  • public class FPNode
    extends java.lang.Object
    This is an implementation of a FPTree node as used by the FPGrowth algorithm.
    Author:
    Philippe Fournier-Viger
    See Also:
    FPTree, Itemset, AlgoFPGrowth
    • Constructor Summary

      Constructors 
      Constructor Description
      FPNode​(int i)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      java.lang.String toString​(java.lang.String indent)
      Method for getting a string representation of this tree (to be used for debugging purposes).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • itemID

        public int itemID
      • counter

        public int counter
      • traces

        public java.util.List<java.lang.Integer> traces
      • parent

        public FPNode parent
      • childs

        public java.util.List<FPNode> childs
      • nodeLink

        public FPNode nodeLink
    • Constructor Detail

      • FPNode

        public FPNode​(int i)
    • Method Detail

      • toString

        public java.lang.String toString​(java.lang.String indent)
        Method for getting a string representation of this tree (to be used for debugging purposes).
        Parameters:
        an - indentation
        Returns:
        a string
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object