Search in sources :

Example 6 with SignalTask

use of nars.task.signal.SignalTask in project narchy by automenta.

the class GoalActionConcept method curiosity.

static SignalTask curiosity(NAR nar, Truth goal, Term term, long pStart, long pEnd, long curiosityStamp) {
    long now = nar.time();
    SignalTask curiosity = new SignalTask(term, GOAL, goal, now, pStart, pEnd, curiosityStamp);
    // curiosity.setCyclic(true);
    curiosity.pri(nar.priDefault(GOAL));
    return curiosity;
}
Also used : SignalTask(nars.task.signal.SignalTask)

Aggregations

SignalTask (nars.task.signal.SignalTask)6 Task (nars.Task)3 ITask (nars.task.ITask)2 NALTask (nars.task.NALTask)2 Truth (nars.truth.Truth)2 FasterList (jcog.list.FasterList)1 NAR (nars.NAR)1 ScalarBeliefTable (nars.concept.dynamic.ScalarBeliefTable)1 Term (nars.term.Term)1 Nullable (org.jetbrains.annotations.Nullable)1