org.wdssii.aicompetition
Class Evaluate

java.lang.Object
  extended by org.wdssii.aicompetition.Evaluate

public class Evaluate
extends Object

Author:
lakshman

Nested Class Summary
static class Evaluate.Stat
          Computes and maintains statistics
 
Constructor Summary
Evaluate()
           
 
Method Summary
private static void computeTssOnRandomPatterns(int[] correct_results, int[] candidate_results, int NUM_ITER, double selectionProbability)
          Draws random samples from the entire set and computes TSS.
private static void computeTssOnRandomRuns(int[] correct_results, int[] candidate_results, int NUM_ITER, double selectionProbability)
          Chooses random runs of the input sets i.e.
static void main(String[] args)
           
static int[] readResults(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Evaluate

public Evaluate()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Parameters:
args -
Throws:
Exception

computeTssOnRandomPatterns

private static void computeTssOnRandomPatterns(int[] correct_results,
                                               int[] candidate_results,
                                               int NUM_ITER,
                                               double selectionProbability)
Draws random samples from the entire set and computes TSS.

Parameters:
correct_results -
candidate_results -
NUM_ITER -
selectionProbability -

computeTssOnRandomRuns

private static void computeTssOnRandomRuns(int[] correct_results,
                                           int[] candidate_results,
                                           int NUM_ITER,
                                           double selectionProbability)
Chooses random runs of the input sets i.e. chosen patterns are consecutive

Parameters:
correct_results -
candidate_results -
NUM_ITER -
selectionProbability -

readResults

public static int[] readResults(String fileName)
                         throws Exception
Throws:
Exception