Class InstanceSequence

  • Direct Known Subclasses:
    TwoSequence

    public class InstanceSequence
    extends Object
    Author:
    Berkay Aydin, Data Mining Lab, Georgia State University
    • Constructor Detail

      • InstanceSequence

        public InstanceSequence()
      • InstanceSequence

        public InstanceSequence​(InstanceData data)
    • Method Detail

      • getEventSequenceType

        public EventSequence getEventSequenceType()
      • append

        public void append​(InstanceData instanceData)
      • setChainIndex

        public void setChainIndex​(double ci)
      • getChainIndex

        public double getChainIndex()
      • getLength

        public int getLength()
      • setChainIndexType

        public void setChainIndexType​(String ciType)
      • getChainIndexType

        public String getChainIndexType()
      • getSubsequence

        public InstanceSequence getSubsequence​(int from,
                                               int to)
        Returns an InstanceSequence of the portion of this InstanceSequence between the specified fromIndex (from), inclusive, and toIndex (to), exclusive. (If fromIndex and toIndex are equal, the returned list is empty.)
        Parameters:
        from -
        to -
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object