marytts.tools.voiceimport.traintrees
Class Wagon
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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()