Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.gsp_AGP.items.abstractions.ItemAbstractionPair' Java class
ItemAbstractionPair
ca.pfv.spmf.algorithms.sequentialpatterns.gsp_AGP.items.abstractions

Class ItemAbstractionPair

  • All Implemented Interfaces:
    java.lang.Comparable<ItemAbstractionPair>


    public class ItemAbstractionPair
    extends java.lang.Object
    implements java.lang.Comparable<ItemAbstractionPair>
    Class that represents a pair . Copyright Antonio Gomariz Peñalver 2013 This file is part of the SPMF DATA MINING SOFTWARE (http://www.philippe-fournier-viger.com/spmf). SPMF is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SPMF is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SPMF. If not, see .
    • Constructor Detail

      • ItemAbstractionPair

        public ItemAbstractionPair(Item item,
                                   Abstraction_Generic abstraction)
        Standard constructor
        Parameters:
        item -
        abstraction -
    • Method Detail

      • equals

        public boolean equals(java.lang.Object arg)
        Check if this item is equal to another by checking if both item and abstraction are identical.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        arg - the other item
        Returns:
        true if equal, otherwise false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getItem

        public Item getItem()
      • toString

        public java.lang.String toString()
        Get the string representation of this object
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string representation.
      • toStringToFile

        public java.lang.String toStringToFile()
        Get the string representation of this item. Adjusted to SPMF format.
        Returns:
        the string representation
      • compareTo

        public int compareTo(ItemAbstractionPair arg)
        It compares this item with another and then, if they are equals, their abstractions.
        Specified by:
        compareTo in interface java.lang.Comparable<ItemAbstractionPair>
        Parameters:
        arg - the other item
        Returns:
        true if equal, otherwise false

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.