Documentation of 'ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim.ItemValued' Java class
ItemValued
ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim

Class ItemValued



  • public class ItemValued
    extends ItemSimple
    This class represents a valued item (an item with a double value) as used by the Fournier-Viger et al. (2008) algorithm. This class extend the Item class in the same package.
    See Also:
    ItemSimple, ItemValued, AlgoFournierViger08
    • Constructor Summary

      Constructors 
      Constructor and Description
      ItemValued(int id)
      Constructor
      ItemValued(int id, double value)
      Constructor
      ItemValued(int id, double value, double min, double max)
      Constructor
      ItemValued(int id, double value, int sequenceID)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Cluster getCluster()
      Get the cluster associated to this item.
      double getMax()
      Get the maximum value associated to this item.
      double getMin()
      Get the minimum value associated to this item.
      int getSequenceID()
      Get the sequence ID associated to this item.
      double getValue()
      Get the value associated with this item
      void setCluster(Cluster cluster)
      Set the cluster associated to this item.
      void setMax(double max)
      Set the maximum value associated to this item.
      void setMin(double min)
      Set the minimum value associated to this item.
      void setSequenceID(int sequenceID)
      Set the sequence ID associated to this item.
      void setValue(double value)
      Set the value for this 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

      • ItemValued

        public ItemValued(int id)
        Constructor
        Parameters:
        id - an item ID.
      • ItemValued

        public ItemValued(int id,
                          double value)
        Constructor
        Parameters:
        id - an item ID.
        value - a value to be associated with this item
      • ItemValued

        public ItemValued(int id,
                          double value,
                          double min,
                          double max)
        Constructor
        Parameters:
        id - an item ID.
        value - a value to be associated with this item
        min - a minimum value for this item.
        max - a maximum value for this item.
      • ItemValued

        public ItemValued(int id,
                          double value,
                          int sequenceID)
        Constructor
        Parameters:
        id - an item ID.
        value - a value to be associated with this item
        sequenceID - an ID of a sequence containing this item
    • Method Detail

      • getValue

        public double getValue()
        Get the value associated with this item
        Returns:
        a double value
      • toString

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

        public int getSequenceID()
        Get the sequence ID associated to this item.
        Returns:
        an interger value.
      • setSequenceID

        public void setSequenceID(int sequenceID)
        Set the sequence ID associated to this item. param sequenceID an interger value.
      • setValue

        public void setValue(double value)
        Set the value for this item
        Parameters:
        value - a double value
      • getCluster

        public Cluster getCluster()
        Get the cluster associated to this item.
        Returns:
        a Cluster
      • setCluster

        public void setCluster(Cluster cluster)
        Set the cluster associated to this item. param cluster a Cluster
      • getMin

        public double getMin()
        Get the minimum value associated to this item.
        Returns:
        a double value
      • getMax

        public double getMax()
        Get the maximum value associated to this item.
        Returns:
        a double value
      • setMin

        public void setMin(double min)
        Set the minimum value associated to this item.
        Parameters:
        min - a double value
      • setMax

        public void setMax(double max)
        Set the maximum value associated to this item.
        Parameters:
        max - a double value

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.