public class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR |
static int |
INPUT |
static int |
OUTPUT |
static int |
REFERENCE |
static int |
TRANSFER |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFunction(Layers.Layer.Controller controller,
ControlFunction control,
int function,
boolean transfer) |
static void |
addTransferFunction(Layers.Layer.Controller controller,
ControlFunction control,
int function) |
static ControlFunction |
configureControlFunction(String name,
String description,
String neuralType,
String[][] parameters,
String[][] links) |
static NeuralFunction |
configureNeuralFunction(String type,
String[][] pars,
String[][] lks) |
static double |
convertCmCoordinate(String dim) |
static double |
convertCmDimension(String dim) |
static Layers.Layer |
emptyLayer(String name) |
static boolean |
functionExists(Layers layers,
String name) |
static boolean |
saveToXML(Layers layers,
String fileName) |
static boolean |
saveToXML(Layers layers,
String fileName,
String path) |
static void |
setOrderedControllers(Layers layers,
String[] list) |
static ControlHierarchy |
verify(String config) |
public static final int INPUT
public static final int REFERENCE
public static final int ERROR
public static final int OUTPUT
public static final int TRANSFER
public static ControlFunction configureControlFunction(String name, String description, String neuralType, String[][] parameters, String[][] links) throws Exception
Exceptionpublic static NeuralFunction configureNeuralFunction(String type, String[][] pars, String[][] lks) throws Exception
Exceptionpublic static boolean functionExists(Layers layers, String name) throws Exception
Exceptionpublic static ControlHierarchy verify(String config) throws JAXBException, IOException, Exception
JAXBExceptionIOExceptionExceptionpublic static Layers.Layer emptyLayer(String name) throws Exception
Exceptionpublic static double convertCmDimension(String dim)
public static double convertCmCoordinate(String dim)
public static void addFunction(Layers.Layer.Controller controller, ControlFunction control, int function, boolean transfer)
public static void addTransferFunction(Layers.Layer.Controller controller, ControlFunction control, int function)
Copyright © 2017. All rights reserved.