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

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

public class EvaluationMain
extends java.lang.Object

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

Field Summary
private static java.lang.String[] args
           
private static java.lang.String DATASETNAME
           
private static java.lang.String FILENAME
           
private static int numRuns
          How often should each initialization be run?
private static java.io.BufferedWriter out
           
private static java.lang.String propFilename
           
private static java.lang.String separator
           
private static int sleeptime
           
 
Constructor Summary
EvaluationMain()
           
 
Method Summary
private static void changeInitMethod(java.lang.String method)
           
private static void changeInitMethodAndSizes(java.lang.String method, int xSize, int ySize)
           
private static void evaluate(java.lang.String methodName)
           
private static void evaluateExistingSOM()
           
private static void evaluateGeneric(java.lang.String name)
           
private static void evaluatePCA()
           
private static void evaluateRandom()
           
private static void evaluateRandomSampling()
           
static java.lang.String getDatasetName()
           
private static java.util.Properties loadProperties()
           
static void main(java.lang.String[] args)
           
private static void readParams(java.lang.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 java.lang.String DATASETNAME

FILENAME

private static java.lang.String FILENAME

out

private static java.io.BufferedWriter out

separator

private static java.lang.String separator

propFilename

private static java.lang.String propFilename

args

private static java.lang.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(java.lang.String[] args)

main

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

getDatasetName

public static java.lang.String getDatasetName()

evaluateExistingSOM

private static void evaluateExistingSOM()
                                 throws java.io.IOException,
                                        java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

evaluatePCA

private static void evaluatePCA()
                         throws java.io.IOException,
                                java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

evaluateRandomSampling

private static void evaluateRandomSampling()
                                    throws java.io.IOException,
                                           java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

evaluateRandom

private static void evaluateRandom()
                            throws java.io.IOException,
                                   java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

evaluateGeneric

private static void evaluateGeneric(java.lang.String name)
                             throws java.io.FileNotFoundException,
                                    java.io.IOException,
                                    java.lang.InterruptedException
Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.InterruptedException

evaluate

private static void evaluate(java.lang.String methodName)
                      throws java.io.IOException
Throws:
java.io.IOException

loadProperties

private static java.util.Properties loadProperties()
                                            throws java.io.FileNotFoundException,
                                                   java.io.IOException
Throws:
java.io.FileNotFoundException
java.io.IOException

changeInitMethod

private static void changeInitMethod(java.lang.String method)
                              throws java.io.FileNotFoundException,
                                     java.io.IOException,
                                     java.lang.InterruptedException
Throws:
java.io.FileNotFoundException
java.io.IOException
java.lang.InterruptedException

changeInitMethodAndSizes

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