at.tuwien.ifs.somtoolbox.apps.initEval
Class EvaluationMain

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.apps.initEval.EvaluationMain

public class EvaluationMain
extends Object

Version:
$Id: EvaluationMain.java 3893 2010-11-03 13:57:47Z mayer $
Author:
Stefan Bischof, Leo Sklenitzka

Field Summary
private static String[] args
           
private static String DATASETNAME
           
private static String FILENAME
           
private static int numRuns
          How often should each initialization be run?
private static BufferedWriter out
           
private static String propFilename
           
private static String separator
           
private static int sleeptime
           
 
Constructor Summary
EvaluationMain()
           
 
Method Summary
private static void changeInitMethod(String method)
           
private static void changeInitMethodAndSizes(String method, int xSize, int ySize)
           
private static void evaluate(String methodName)
           
private static void evaluateExistingSOM()
           
private static void evaluateGeneric(String name)
           
private static void evaluatePCA()
           
private static void evaluateRandom()
           
private static void evaluateRandomSampling()
           
static String getDatasetName()
           
private static Properties loadProperties()
           
static void main(String[] args)
           
private static void readParams(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATASETNAME

private static String DATASETNAME

FILENAME

private static String FILENAME

out

private static BufferedWriter out

separator

private static String separator

propFilename

private static String propFilename

args

private static String[] args

sleeptime

private static int sleeptime

numRuns

private static int numRuns
How often should each initialization be run?

Constructor Detail

EvaluationMain

public EvaluationMain()
Method Detail

readParams

private static void readParams(String[] args)

main

public static void main(String[] args)
                 throws IOException,
                        InterruptedException,
                        SOMLibFileFormatException
Throws:
IOException
InterruptedException
SOMLibFileFormatException

getDatasetName

public static String getDatasetName()

evaluateExistingSOM

private static void evaluateExistingSOM()
                                 throws IOException,
                                        InterruptedException
Throws:
IOException
InterruptedException

evaluatePCA

private static void evaluatePCA()
                         throws IOException,
                                InterruptedException
Throws:
IOException
InterruptedException

evaluateRandomSampling

private static void evaluateRandomSampling()
                                    throws IOException,
                                           InterruptedException
Throws:
IOException
InterruptedException

evaluateRandom

private static void evaluateRandom()
                            throws IOException,
                                   InterruptedException
Throws:
IOException
InterruptedException

evaluateGeneric

private static void evaluateGeneric(String name)
                             throws FileNotFoundException,
                                    IOException,
                                    InterruptedException
Throws:
FileNotFoundException
IOException
InterruptedException

evaluate

private static void evaluate(String methodName)
                      throws IOException
Throws:
IOException

loadProperties

private static Properties loadProperties()
                                  throws FileNotFoundException,
                                         IOException
Throws:
FileNotFoundException
IOException

changeInitMethod

private static void changeInitMethod(String method)
                              throws FileNotFoundException,
                                     IOException,
                                     InterruptedException
Throws:
FileNotFoundException
IOException
InterruptedException

changeInitMethodAndSizes

private static void changeInitMethodAndSizes(String method,
                                             int xSize,
                                             int ySize)
                                      throws FileNotFoundException,
                                             IOException,
                                             InterruptedException
Throws:
FileNotFoundException
IOException
InterruptedException