Class MainTestCMClaSP_saveToFile


  • public class MainTestCMClaSP_saveToFile
    extends java.lang.Object
    Example of how to use the algorithm ClaSP, saving the results in a given file
    Author:
    agomariz
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute_CMClaSP​(double input_support, java.lang.String file_address, java.lang.String output_address)  
      static java.lang.String fileToPath​(java.lang.String filename)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • MainTestCMClaSP_saveToFile

        public MainTestCMClaSP_saveToFile()
    • Method Detail

      • execute_CMClaSP

        public void execute_CMClaSP​(double input_support,
                                    java.lang.String file_address,
                                    java.lang.String output_address)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Parameters:
        args - the command line arguments
        Throws:
        java.io.IOException
      • fileToPath

        public static java.lang.String fileToPath​(java.lang.String filename)
                                           throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException