use of nars.exe.PoolMultiExec in project narchy by automenta.
the class NARchy method ui.
public static NAR ui() {
// u.forEach(System.out::println);
// u.put("boot", new Date().toString());
// Util.pause(100);
// u.get("boot", (b)->{
// System.out.println(b);
// });
NAR nar = new DefaultNAR(8, true).exe(new PoolMultiExec(/*WorkerMultiExec*/
new Focus.AERevaluator(new XoRoShiRo128PlusRandom(1)), 512)).time(new RealTime.CS().durFPS(10f)).get();
ConjClustering conjClusterB = new ConjClustering(nar, BELIEF, (Task::isInput), 16, 64);
// ConjClustering conjClusterG = new ConjClustering(nar, GOAL, true, false, 16, 64);
// auxiliary modules, load in background thread
nar.runLater(() -> {
User u = User.the();
new NARAudio(nar);
new NARVideo(nar);
NARHear.readURL(nar);
{
NARSpeak s = new NARSpeak(nar);
s.spoken.on(new NativeSpeechDispatcher()::speak);
// new NativeSpeechDispatcher(s);
}
// //new NoteFS("/tmp/nal", nar);
// InterNAR i = new InterNAR(nar, 8, 0);
// i.recv.preAmp(0.1f);
// i.runFPS(2);
});
return nar;
}
Aggregations