demo.inpro.system.greifarm
Class GreifarmExperiment

java.lang.Object
  extended by demo.inpro.system.greifarm.GreifarmExperiment
All Implemented Interfaces:
DropListener

public class GreifarmExperiment
extends java.lang.Object
implements DropListener


Nested Class Summary
private  class GreifarmExperiment.RecoRunner
           
private static class GreifarmExperiment.Score
           
 
Field Summary
private  CurrentASRHypothesis casrh
           
private  java.util.List<ASRWordDeltifier> deltifiers
           
private  GreifarmActor ga
           
(package private)  int gameCount
           
private  GameScore gameScore
           
private static org.apache.log4j.Logger logger
           
private static int MAX_GAMES
           
(package private)  java.util.Random random
           
private  GreifarmExperiment.RecoRunner rr
           
private  SpeechStateVisualizer ssv
           
(package private)  java.util.HashMap<ASRWordDeltifier,java.util.List<GreifarmExperiment.Score>> testResult
           
 
Constructor Summary
GreifarmExperiment(edu.cmu.sphinx.util.props.ConfigurationManager cm)
           
 
Method Summary
private  ASRWordDeltifier getDeltifier()
           
static void main(java.lang.String[] args)
           
(package private)  void nextRound()
           
 void notifyDrop(GameScore gameScore)
           
private  void setRandomSmoothingStyle()
           
(package private)  void showDialog()
          only call this on the Swing Thread!
private  void showTestResult()
           
(package private)  void sleep(int time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger

MAX_GAMES

private static final int MAX_GAMES
See Also:
Constant Field Values

random

java.util.Random random

casrh

private CurrentASRHypothesis casrh

deltifiers

private java.util.List<ASRWordDeltifier> deltifiers

rr

private GreifarmExperiment.RecoRunner rr

ga

private GreifarmActor ga

gameScore

private GameScore gameScore

ssv

private SpeechStateVisualizer ssv

testResult

java.util.HashMap<ASRWordDeltifier,java.util.List<GreifarmExperiment.Score>> testResult

gameCount

int gameCount
Constructor Detail

GreifarmExperiment

public GreifarmExperiment(edu.cmu.sphinx.util.props.ConfigurationManager cm)
Method Detail

setRandomSmoothingStyle

private void setRandomSmoothingStyle()

getDeltifier

private ASRWordDeltifier getDeltifier()

showDialog

void showDialog()
only call this on the Swing Thread!


nextRound

void nextRound()

sleep

void sleep(int time)

notifyDrop

public void notifyDrop(GameScore gameScore)
Specified by:
notifyDrop in interface DropListener

showTestResult

private void showTestResult()

main

public static void main(java.lang.String[] args)
Parameters:
args - ignores all arguments