Example #1
0
 public RunnableImpl(Literal desire, DesireStates state, string reason, TEType type, Reasoner reasoner)
 {
     this.desire   = desire;
     this.state    = state;
     this.reason   = reason;
     this.type     = type;
     this.reasoner = reasoner;
 }
Example #2
0
 private void GenerateDesireStateEvent(Literal desire, TEType type, DesireStates state, String reason)
 {
     reasoner.RunAtBeginOfNextCycle(new RunnableImpl(desire, state, reason, type, reasoner));
     reasoner.GetUserAgArch().WakeUpDeliberate();
 }