Documentation of 'ca.pfv.spmf.tools.dataset_stats.SequenceStatsGenerator' Java class
SequenceStatsGenerator
ca.pfv.spmf.tools.dataset_stats

Class SequenceStatsGenerator



  • public class SequenceStatsGenerator
    extends java.lang.Object
    This class read a sequence database and calculates statistics about this sequence database, then it prints the statistics.

    In this version this class reads the database into memory before calculating the statistics. It could be optimized to calculate statistics without reading the database in memory because a single pass is required. It was done like that because the code is simpler and easier to understand.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void getStats(java.lang.String path)
      This method generates statistics for a sequence database (a file)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SequenceStatsGenerator

        public SequenceStatsGenerator()
    • Method Detail

      • getStats

        public void getStats(java.lang.String path)
                      throws java.io.IOException
        This method generates statistics for a sequence database (a file)
        Parameters:
        path - the path to the file
        Throws:
        java.io.IOException - exception if there is a problem while reading the file.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.