Closed lcpz closed 7 years ago
Hi, thanks for reporting this issue. The problem is indeed in the use of .create_agent internal action. We will try to fix it soon. Meanwhile, you can solve the problem by replacing
.create_agent("bob", "bob.asl").
by
jacamo.create_agent("bob", "bob.asl").
The bug is fixed in Jason GIT repository.
I'm glad I've been of help indirectly. Thanks for the quick fix.
While we are at it, I'd like to ask for a couple of things.
How can we dispose of a namespace? My project involves creating an open MAS with the possibility of having multiple concurrent instances of an organisation. To avoid problems, I thought to use namespaces for incapsulation, but once an instance has concluded its execution, how can we free memory from it?
Also, open MAS are very appealing for the industry, but there are no demos/examples here. In my humble opinion, it'd be nice to have some templates shocasing good habits for concurrency and scalability.
Hi Luke,
indeed, namespaces can be a useful tool to deal with big/open applications. It is quite new in Jason/JaCaMo and we are still exploring this feature.
for the first question, to remove all beliefs of a namespace, the simplest way is
.abolish(nsdemo::_);
for the second..... unfortunately we still do not have those examples, despite their importance. I hope we can provide them soon.
All the best.
Thanks again for your time.
I could submit my project to you once completed. If you like it, it could be a start for those examples.
Good, that will be great!!!
On 3 de jul de 2017, at 14:32, Luke Bonham notifications@github.com wrote:
Thanks again for your time.
I could submit my project to you once completed. If you like it, it could be a start for those examples.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.
-- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://jomi.das.ufsc.br
Hello, is it possible to give an environment to agents created within a Jason module?
I'd like to know how to correctly use CArtAgO and Moise within Jason namespaces.
Following is a test case where I fail to create a workspace into a module.
example.jcm
alice.asl
instantiator.asl
bob.asl
Console output:
I attach the test case project: example.zip
Could you please tell me what am I doing wrong? Thanks in advance.