yawn.ui.cli
Class RunExperiment
java.lang.Object
yawn.ui.cli.RunExperiment
- All Implemented Interfaces:
- java.lang.Runnable
public class RunExperiment
- extends java.lang.Object
- implements java.lang.Runnable
Trains and tests a neural network using a given test environment. It reads
its configuration from an XML file.
$Id: RunExperiment.java,v 1.7 2005/04/07 17:28:07 supermarti Exp $
- Version:
- $Revision: 1.7 $
- Author:
- Luis Martí (luis dot marti at uc3m dot es)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
experimentFileName
protected java.lang.String experimentFileName
verbose
protected boolean verbose
debug
protected boolean debug
welcomeMsgEnabled
protected boolean welcomeMsgEnabled
RunExperiment
public RunExperiment()
printHelpMessage
protected static void printHelpMessage(java.lang.String usageMessage,
org.apache.commons.cli.Options options)
printErrorMessage
protected static void printErrorMessage(java.lang.String error)
isDebug
public boolean isDebug()
- Returns:
- Returns the debug.
setDebug
public void setDebug(boolean debug)
- Parameters:
debug
- The debug to set.
main
public static void main(java.lang.String[] args)
getExperimentFileName
public java.lang.String getExperimentFileName()
- Returns:
- Returns the experimentFileName.
isVerbose
public boolean isVerbose()
- Returns:
- Returns the verbose.
isWelcomeMsgEnabled
public boolean isWelcomeMsgEnabled()
- Returns:
- Returns the welcomeMsgEnabled.
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- See Also:
Runnable.run()
setExperimentFileName
public void setExperimentFileName(java.lang.String experimentFileName)
- Parameters:
experimentFileName
- The experimentFileName to set.
setVerbose
public void setVerbose(boolean verbose)
- Parameters:
verbose
- The verbose to set.
setWelcomeMsgEnabled
public void setWelcomeMsgEnabled(boolean welcomeMsgEnabled)
- Parameters:
welcomeMsgEnabled
- The welcomeMsgEnabled to set.
Copyright © 2003-2005 GIAA, Universidad Carlos III de Madrid. All Rights Reserved.