Hi. Yes, Agent.initialize() is equivalent to init-soar:
Also note that you could also do
agent.getInterpreter().eval("init-soar") to programmatically execute
the command.
Dave
> --
> You received this message because you are subscribed to the Google Groups
> "jsoar-user" group.
> To post to this group, send email to jsoar...@googlegroups.com.
> To unsubscribe from this group, send email to
> jsoar-user+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jsoar-user?hl=en.
>
Can you execute a matches command on that rule after the agent is
reinitialized? That might give a hint as to why it's not matching.
Dave
That's good to hear. You might want to consider registering for the
AfterInitSoarEvent and put that code there. Then the input-link will
be reinitialized regardless of how the agent is reinitialized
(Agent.initialize(), init-soar in debugger, etc).
Cheers,
Dave