use of nars.core.NAR in project narchy by automenta.
the class BudgetExpense method main.
public static void main(String[] args) throws Exception {
int cycles = 1000;
NAR nar = new Default().build();
NARTrace t = new NARTrace(nar);
nar.addInput("<a --> b>.");
nar.addInput("<b --> c>.");
nar.addInput("<(^pick,x) =\\> a>.");
nar.addInput("<(*, b, c) <-> x>.");
nar.addInput("a!");
TimelineVis tc = new TimelineVis(new LineChart(t.getCharts("task.novel.add", "task.immediate_processed")).height(3), new LineChart(t.getCharts("task.goal.process", "task.question.process", "task.judgment.process")).height(3), new LineChart(t.getCharts("emotion.busy")).height(1));
nar.run(cycles);
new NWindow("_", new PCanvas(tc)).show(800, 800, true);
}
Aggregations