public class WagonCaller extends Object
| Constructor and Description |
|---|
WagonCaller(String featureDescFile)
Build a new WagonCaller
|
WagonCaller(String ESTDIR,
String featureDescFile)
Build a new WagonCaller
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
callWagon(String arguments)
Call the wagon program with the given argument line.
|
boolean |
callWagon(String valueFile,
String distanceTableFile,
String destinationFile)
Call the wagon program
|
boolean |
callWagon(String valueFile,
String distanceTableFile,
String destinationFile,
int balance,
int stop)
Call the wagon program This method allows to set the stop and balance values
|
public WagonCaller(String ESTDIR, String featureDescFile)
ESTDIR - the EST directoryfeatureDescFile - the feature definition filepublic WagonCaller(String featureDescFile)
featureDescFile - the feature definition filepublic boolean callWagon(String valueFile, String distanceTableFile, String destinationFile)
valueFile - the file containing the values of the unitsdistanceTableFile - the distance tables for the unitsdestinationFile - the file to dump the tree topublic boolean callWagon(String valueFile, String distanceTableFile, String destinationFile, int balance, int stop)
valueFile - the file containing the values of the unitsdistanceTableFile - the distance tables for the unitsdestinationFile - the file to dump the tree tobalance - if balance = 0 stop is used; else if number of indices at node divided by balance is greater than stop it is
used as stopstop - minimum number of indices in leafpublic boolean callWagon(String arguments)
arguments - all arguments to wagon in one stringCopyright © 2000–2016 DFKI GmbH. All rights reserved.