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; }
private void GenerateDesireStateEvent(Literal desire, TEType type, DesireStates state, String reason) { reasoner.RunAtBeginOfNextCycle(new RunnableImpl(desire, state, reason, type, reasoner)); reasoner.GetUserAgArch().WakeUpDeliberate(); }