Search in sources :

Example 1 with NAL1MultistepTest

use of nars.nal.nal1.NAL1MultistepTest in project narchy by automenta.

the class MyNAL1MultistepTest method asFloat.

@Override
public float asFloat() {
    try {
        // Class c = Thread.currentThread().getContextClassLoader().loadClass("nars.nal.nal1.NAL1MultistepTest");
        // Object n0 = c.newInstance();
        // n.getClass().getMethod
        NAL1MultistepTest n = new NAL1MultistepTest();
        System.out.println("TTL_MUTATE=" + Param.TTL_MUTATE);
        System.out.println("TTL_MUTATE=" + Param.TTL_DERIVE_TASK_SUCCESS);
        n.multistepSim4();
        n.end(null, null);
        return 1f / (1 + n.test.time());
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}
Also used : NAL1MultistepTest(nars.nal.nal1.NAL1MultistepTest)

Aggregations

NAL1MultistepTest (nars.nal.nal1.NAL1MultistepTest)1