Closed KRaizer closed 5 years ago
In jsoar, you can do this:
String result = agent.getInterpreter().eval("my command");
There is no kernel object in jsoar; all the agents are independent (e.g., they can be run in separate threads). If there is an error, a SoarException will be thrown.
Bob
From: KR notifications@github.com Sent: Monday, September 10, 2018 9:34 PM To: soartech/jsoar Cc: Subscribed Subject: [soartech/jsoar] Is there an equivalent of "ExecuteCommandLine" in JSOAR? (#113)
Hello, In csoar I can do something like this:
result = kernel.ExecuteCommandLine("excise towers-of-hanoi*monitor", "Soar1")
Is there an equivalent way of running soar commands directly to kernel in jsoar?
- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/soartech/jsoar/issues/113, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAgp3P7Uv4jX3uWcOesLUw4IcQuBDfpcks5uZxM7gaJpZM4Wicaa.
Worked like a charm. Thank you so much. Regards, Klaus
Hello, In csoar I can do something like this:
result = kernel.ExecuteCommandLine("excise towers-of-hanoi*monitor", "Soar1")
Is there an equivalent way of running soar commands directly to kernel in jsoar?