Package ca.nengo.math

Examples of ca.nengo.math.FunctionInterpreter


   
    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();
View Full Code Here

TOP

Related Classes of ca.nengo.math.FunctionInterpreter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.