Simulator simulator = net.getSimulator();
// Rules:
// 1) if A and (B or C) then 1
// 2) if D then 2
FunctionInterpreter fi = new DefaultFunctionInterpreter();
Function[] functions = new Function[] { fi.parse("x0 < .2", 1),
new ConstantFunction(1, .5f), new ConstantFunction(1, .2f),
new ConstantFunction(1, .3f) };
FunctionInput in = new FunctionInput("input", functions, Units.UNK);
NEFEnsembleFactory ef = new NEFEnsembleFactoryImpl();