Class Abstraction_Qualitative

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

    public class Abstraction_Qualitative
    extends Abstraction_Generic
    Class that implements a qualitative abstraction. Two different values are possible: to be with an equal relation with respect to a previous pair (if occurs at the same time), or to be with an after relation with respect to that previous pair (the previous pair have a before relation with respect to this one) 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 .
    Author:
    agomariz
    • Constructor Detail

      • Abstraction_Qualitative

        public Abstraction_Qualitative​(boolean equalRelation)
    • Method Detail

      • clear

        public static void clear()
      • create

        public static Abstraction_Qualitative create​(boolean hasEqualRelation)
        It creates a new abstraction with the given value.
        Parameters:
        hasEqualRelation - if it contains an equal relation
        Returns:
        the abstraction
      • hasEqualRelation

        public boolean hasEqualRelation()
      • toString

        public java.lang.String toString()
        Get the string representation of this abstraction.
        Specified by:
        toString in class Abstraction_Generic
        Returns:
        the string representation
      • toStringToFile

        public java.lang.String toStringToFile()
        Get the string representation of this object. Adjusted to SPMF format.
        Specified by:
        toStringToFile in class Abstraction_Generic
        Returns:
        the string representation