marytts.tools.voiceimport.traintrees
Class Wagon

java.lang.Object
  extended by marytts.tools.voiceimport.traintrees.Wagon
All Implemented Interfaces:
java.lang.Runnable

public class Wagon
extends java.lang.Object
implements java.lang.Runnable

A class providing the functionality to interface with an external wagon process.

Author:
marc

Constructor Summary
Wagon(java.lang.String id, FeatureDefinition featureDefinition, FeatureVector[] featureVectors, DistanceMeasure aDistanceMeasure, java.io.File dir, int balance, int stop)
          Set up a new wagon process.
 
Method Summary
 boolean finished()
           
 CART getCART()
           
 java.lang.String id()
           
 void run()
           
static void setWagonExecutable(java.io.File wagonExe)
           
 boolean success()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wagon

public Wagon(java.lang.String id,
             FeatureDefinition featureDefinition,
             FeatureVector[] featureVectors,
             DistanceMeasure aDistanceMeasure,
             java.io.File dir,
             int balance,
             int stop)
      throws java.io.IOException
Set up a new wagon process. Wagon.setWagonExecutable() must be called beforehand.

Parameters:
featureDefinition -
featureVectors -
aDistanceMeasure -
dir -
balance -
stop -
Throws:
java.io.IOException - if there was no call to Wagon.setWagonExecutable() with an executable file before calling this constructor.
Method Detail

setWagonExecutable

public static void setWagonExecutable(java.io.File wagonExe)

run

public void run()
Specified by:
run in interface java.lang.Runnable

finished

public boolean finished()

success

public boolean success()

id

public java.lang.String id()

getCART

public CART getCART()