public class ControlHierarchy extends BaseControlHierarchy
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,Controller> |
hmControllers |
protected HashMap<String,BaseControlFunction> |
hmControls |
protected List<String> |
orderedControllers |
protected boolean |
print |
config, configPath, fileNamePrefix, finished, layers, output, outputFile, pauseFlag, runningFlag, timeRate, type, unitTestString| Constructor and Description |
|---|
ControlHierarchy() |
ControlHierarchy(BaseControlBuild controlBuild) |
ControlHierarchy(int num) |
ControlHierarchy(String config) |
ControlHierarchy(String config,
String parFile) |
getConfigPath, getController, getDelimitedString, getFileNamePrefix, getOutputFile, getOutputFile, getTime, getType, getUnitTestString, isFinished, isPaused, isRunning, setFinished, setOutputFile, setPauseFlag, setRunningFlag, setTimeRate, setType, setUnitTestString, setValues, setValuesprotected HashMap<String,Controller> hmControllers
protected HashMap<String,BaseControlFunction> hmControls
protected boolean print
public ControlHierarchy()
public ControlHierarchy(BaseControlBuild controlBuild) throws Exception
Exceptionpublic ControlHierarchy(String config, String parFile) throws Exception
Exceptionpublic void setParametersFileName(String parametersFileName)
protected void loadFromProperties(Properties props, StringBuilder sb) throws Exception
Exceptionpublic BaseControlBuild getControlBuild()
public void setControlBuild(BaseControlBuild controlBuild)
public void updateTime()
public void setPrint(boolean print)
public DefaultListModel<String> getControllersListModel()
public Layers getXmlLayers()
public ControlLayer[] getLayers()
getLayers in class BaseControlHierarchyprotected boolean initNeuralFunction(String function) throws Exception
Exceptionpublic void setLayers(ControlLayer[] layers)
public void setRunTime(long runTime)
public void setRunIter(long runIter)
public void run()
throws NoSuchMethodError,
Exception
NoSuchMethodErrorExceptionpublic void rate()
public BaseNeuralFunction getNeuralFunction(String name)
public void setControllerParameter(String controller, String pars) throws Exception
Exceptionpublic void setControllerParameter(String controller, String parameter, String value) throws Exception
Exceptionpublic BaseControlFunction getControllerFunction(String function) throws Exception
Exceptionpublic void write(String file) throws IOException
IOExceptionpublic void writeOrdered(String file) throws IOException
IOExceptionpublic void writeUnordered(String file) throws IOException
IOExceptionpublic void print(String prefix)
public String getDetailString()
public void specificProcessing()
throws IOException,
Exception
IOExceptionExceptionpublic void stop()
throws Exception
stop in interface ControlHierarchyInterfacestop in class BaseControlHierarchyExceptionpublic void closeNeuralFunction(String function) throws Exception
Exceptionpublic void pauseNeuralFunction(String function) throws Exception
Exceptionpublic String getParameters() throws IOException
IOExceptionpublic void saveParameters()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.