You can subscribe to this list here.
2004 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(12) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(3) |
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
|
Mar
(6) |
Apr
(2) |
May
(3) |
Jun
(6) |
Jul
|
Aug
(1) |
Sep
(5) |
Oct
(32) |
Nov
|
Dec
(4) |
2006 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(6) |
Nov
(6) |
Dec
|
2007 |
Jan
|
Feb
(7) |
Mar
(20) |
Apr
(9) |
May
(4) |
Jun
(13) |
Jul
(9) |
Aug
(8) |
Sep
|
Oct
(7) |
Nov
(7) |
Dec
(3) |
2008 |
Jan
|
Feb
(5) |
Mar
(1) |
Apr
(46) |
May
(7) |
Jun
(5) |
Jul
(1) |
Aug
(15) |
Sep
(19) |
Oct
|
Nov
(2) |
Dec
(1) |
2009 |
Jan
(3) |
Feb
(2) |
Mar
(10) |
Apr
(16) |
May
(18) |
Jun
(12) |
Jul
(13) |
Aug
(10) |
Sep
(5) |
Oct
|
Nov
(2) |
Dec
(3) |
2010 |
Jan
(17) |
Feb
(10) |
Mar
(3) |
Apr
(2) |
May
(12) |
Jun
(17) |
Jul
(27) |
Aug
(20) |
Sep
(8) |
Oct
(12) |
Nov
(3) |
Dec
(2) |
2011 |
Jan
(16) |
Feb
(6) |
Mar
(3) |
Apr
(2) |
May
|
Jun
(11) |
Jul
(4) |
Aug
(9) |
Sep
(10) |
Oct
(8) |
Nov
(10) |
Dec
(3) |
2012 |
Jan
(6) |
Feb
(4) |
Mar
(3) |
Apr
(10) |
May
(7) |
Jun
(5) |
Jul
(4) |
Aug
(18) |
Sep
(14) |
Oct
(17) |
Nov
(12) |
Dec
|
2013 |
Jan
(6) |
Feb
(7) |
Mar
(4) |
Apr
(8) |
May
(5) |
Jun
(7) |
Jul
(4) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
|
Dec
(6) |
2014 |
Jan
(4) |
Feb
|
Mar
(6) |
Apr
(2) |
May
|
Jun
(10) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
(3) |
Apr
(3) |
May
(7) |
Jun
(5) |
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(3) |
2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(5) |
Oct
(5) |
Nov
(2) |
Dec
|
2017 |
Jan
(5) |
Feb
(4) |
Mar
(3) |
Apr
(6) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
(6) |
Nov
(4) |
Dec
|
2019 |
Jan
(1) |
Feb
(5) |
Mar
(6) |
Apr
(5) |
May
|
Jun
(5) |
Jul
(2) |
Aug
(7) |
Sep
(1) |
Oct
(7) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(3) |
Nov
|
Dec
|
2022 |
Jan
(5) |
Feb
(1) |
Mar
|
Apr
|
May
(5) |
Jun
(9) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(4) |
Dec
|
2023 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
|
Jun
(5) |
Jul
(1) |
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
(3) |
2024 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
(17) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jomi H. <jom...@gm...> - 2016-07-21 10:52:46
|
Dear all, We have just released a new version of Jason, version 2.0! The main new features are: - support for modules and namespaces - concurrent courses of actions within a single plan and advanced concurrent agent architectures More details are available at https://github.com/jason-lang/jason/blob/master/release-notes.adoc#version-20 To download the new version please go to: https://sourceforge.net/projects/jason/?source=updater Best wishes, Jomi and Rafael |
From: Jomi H. <jom...@gm...> - 2016-06-09 16:36:03
|
Good it works now and thanks for sharing the solution. The error in the jcm is that the current syntax obliges a break line between { and } We are working to fix it. All the best, Jomi > On 09 Jun 2016, at 18:02, Cleber Amaral <cle...@gm...> wrote: > > Hi Jomi, > > Sure it helps, thanks for your reply! Just to regist the solution. > > 1. Following https://stackoverflow.com/questions/6484275/java-net-unknownhostexception-invalid-hostname-for-server-local/26686229#26686229 I've added 127.0.0.1 mas4opc-server in etc/hosts file > > 2. You got another error which would be my next step. It is right, I just change every call to "owner_" and everything is fine. FYI the reason to this change is because in JCM file when I type "agent owner : owner.asl {}" the attached error is reported by eclipse looks like "owner" is a reserved word and eclipse was expecting some non reserved word to be the name of the agent, the hint says: "mismatched input 'owner' expecting RULE_ATOM", so > > Regards, > > -- > -- > Cleber Jorge Amaral > ----------------------------------------------------------------- > Celular: (48) 8426-9006 > Skype: clebercbr > gTalk: cle...@gm... > ----------------------------------------------------------------- > Antes de imprimir, pense em sua<mismatched input 'owner' expecting RULE_ATOM.jpg> > responsabilidade com o MEIO AMBIENTE. > ----------------------------------------------------------------- > > On Wed, 8 Jun 2016 at 12:43 Jomi Fred Hübner <jom...@gm...> wrote: > Hi Cleber, > > yes, we can use this list also for jacamo projects (since jacamo is highly related to jason). > > It seems there are two problems in your application: > > 1. the starting of the environment web interface (it is related to the stack trace you sent). For some reason the Java installation can not get the local IP address — and I am not an expert on that to help you (maybe you can find something using google). However, it has no consequences for your application, just the environment web interface is not running. > > 2. the communication between “robot” and “owner”. I noticed that your owner agent name is “owner_” and not “owner” (as used in the code of the robot) and thus the message sent by the robot fails. Did you change the name of the agents? > > HTH > > -- > 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 > > > On 06 Jun 2016, at 22:06, Cleber Amaral <cle...@gm...> wrote: > > > > Hi there, > > > > First, is this list also suitable to talk about JaCaMo projects? > > > > I am running eclipse IDE and debugging a JaCaMo simple project by a SSH connection with a remote machine (using OpenStack). In this environment the app cannot find the host. Does someone has an idea what is happening? > > > > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known > > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > > at jacamo.infra.EnvironmentInspectorWeb.startHttpServer(EnvironmentInspectorWeb.java:53) > > at jacamo.infra.JaCaMoLauncher.createEnvironment(JaCaMoLauncher.java:251) > > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:238) > > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > > Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > > at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > > ... 4 more > > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known > > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > > at jason.architecture.MindInspectorWeb.startHttpServer(MindInspectorWeb.java:74) > > at jason.architecture.MindInspectorWeb.get(MindInspectorWeb.java:45) > > at jason.asSemantics.Agent.initAg(Agent.java:167) > > at jason.asSemantics.Agent.create(Agent.java:137) > > at jason.infra.centralised.CentralisedAgArch.createArchs(CentralisedAgArch.java:92) > > at jason.infra.centralised.RunCentralisedMAS.createAgs(RunCentralisedMAS.java:465) > > at jacamo.infra.JaCaMoLauncher.createAgs(JaCaMoLauncher.java:420) > > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:240) > > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > > Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > > at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > > > > <pasted1.png> > > > > -- > > > > Cleber Jorge Amaral > > Professor de Ensino Técnico e Tecnológico > > Área de Telecomunicações > > (48) 3381-2850 / Skype: clebercbr > > > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > > www.sj.ifsc.edu.br > > -- > > --- > > Cleber Jorge Amaral > > Professor de Ensino Técnico e Tecnológico > > Área de Telecomunicações > > (48) 3381-2850 / Skype: clebercbr > > > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > > www.sj.ifsc.edu.br > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________ > > Jason-users mailing list > > Jas...@li... > > https://lists.sourceforge.net/lists/listinfo/jason-users > > -- > --- > Cleber Jorge Amaral > Professor de Ensino Técnico e Tecnológico > Área de Telecomunicações > (48) 3381-2850 / Skype: clebercbr > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > www.sj.ifsc.edu.br |
From: Cleber A. <cle...@gm...> - 2016-06-09 16:02:55
|
Hi Jomi, Sure it helps, thanks for your reply! Just to regist the solution. 1. Following https://stackoverflow.com/questions/6484275/java-net-unknownhostexception-invalid-hostname-for-server-local/26686229#26686229 I've added 127.0.0.1 mas4opc-server in etc/hosts file 2. You got another error which would be my next step. It is right, I just change every call to "owner_" and everything is fine. FYI the reason to this change is because in JCM file when I type "agent owner : owner.asl {}" the attached error is reported by eclipse looks like "owner" is a reserved word and eclipse was expecting some non reserved word to be the name of the agent, the hint says: "mismatched input 'owner' expecting RULE_ATOM", so Regards, -- -- Cleber Jorge Amaral ----------------------------------------------------------------- Celular: (48) 8426-9006 Skype: clebercbr gTalk: cle...@gm... ----------------------------------------------------------------- Antes de imprimir, pense em sua[image: mismatched input 'owner' expecting RULE_ATOM.jpg] responsabilidade com o MEIO AMBIENTE. ----------------------------------------------------------------- On Wed, 8 Jun 2016 at 12:43 Jomi Fred Hübner <jom...@gm...> wrote: > Hi Cleber, > > yes, we can use this list also for jacamo projects (since jacamo is highly > related to jason). > > It seems there are two problems in your application: > > 1. the starting of the environment web interface (it is related to the > stack trace you sent). For some reason the Java installation can not get > the local IP address — and I am not an expert on that to help you (maybe > you can find something using google). However, it has no consequences for > your application, just the environment web interface is not running. > > 2. the communication between “robot” and “owner”. I noticed that your > owner agent name is “owner_” and not “owner” (as used in the code of the > robot) and thus the message sent by the robot fails. Did you change the > name of the agents? > > HTH > > -- > 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 > > > On 06 Jun 2016, at 22:06, Cleber Amaral <cle...@gm...> wrote: > > > > Hi there, > > > > First, is this list also suitable to talk about JaCaMo projects? > > > > I am running eclipse IDE and debugging a JaCaMo simple project by a SSH > connection with a remote machine (using OpenStack). In this environment the > app cannot find the host. Does someone has an idea what is happening? > > > > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or > service not known > > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > > at > jacamo.infra.EnvironmentInspectorWeb.startHttpServer(EnvironmentInspectorWeb.java:53) > > at > jacamo.infra.JaCaMoLauncher.createEnvironment(JaCaMoLauncher.java:251) > > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:238) > > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > > Caused by: java.net.UnknownHostException: mas4opc-server: Name or > service not known > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > > at > java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > > ... 4 more > > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or > service not known > > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > > at > jason.architecture.MindInspectorWeb.startHttpServer(MindInspectorWeb.java:74) > > at > jason.architecture.MindInspectorWeb.get(MindInspectorWeb.java:45) > > at jason.asSemantics.Agent.initAg(Agent.java:167) > > at jason.asSemantics.Agent.create(Agent.java:137) > > at > jason.infra.centralised.CentralisedAgArch.createArchs(CentralisedAgArch.java:92) > > at > jason.infra.centralised.RunCentralisedMAS.createAgs(RunCentralisedMAS.java:465) > > at jacamo.infra.JaCaMoLauncher.createAgs(JaCaMoLauncher.java:420) > > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:240) > > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > > Caused by: java.net.UnknownHostException: mas4opc-server: Name or > service not known > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > > at > java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > > > > <pasted1.png> > > > > -- > > > > Cleber Jorge Amaral > > Professor de Ensino Técnico e Tecnológico > > Área de Telecomunicações > > (48) 3381-2850 / Skype: clebercbr > > > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > > www.sj.ifsc.edu.br > > -- > > --- > > Cleber Jorge Amaral > > Professor de Ensino Técnico e Tecnológico > > Área de Telecomunicações > > (48) 3381-2850 / Skype: clebercbr > > > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > > www.sj.ifsc.edu.br > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning reports. > https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________ > > Jason-users mailing list > > Jas...@li... > > https://lists.sourceforge.net/lists/listinfo/jason-users > > -- --- Cleber Jorge Amaral Professor de Ensino Técnico e Tecnológico Área de Telecomunicações (48) 3381-2850 / Skype: clebercbr IFSC - Instituto Federal de Santa Catarina - Câmpus São José Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 www.sj.ifsc.edu.br |
From: J. F. H. <jom...@gm...> - 2016-06-08 15:43:12
|
Hi Cleber, yes, we can use this list also for jacamo projects (since jacamo is highly related to jason). It seems there are two problems in your application: 1. the starting of the environment web interface (it is related to the stack trace you sent). For some reason the Java installation can not get the local IP address — and I am not an expert on that to help you (maybe you can find something using google). However, it has no consequences for your application, just the environment web interface is not running. 2. the communication between “robot” and “owner”. I noticed that your owner agent name is “owner_” and not “owner” (as used in the code of the robot) and thus the message sent by the robot fails. Did you change the name of the agents? HTH -- 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 > On 06 Jun 2016, at 22:06, Cleber Amaral <cle...@gm...> wrote: > > Hi there, > > First, is this list also suitable to talk about JaCaMo projects? > > I am running eclipse IDE and debugging a JaCaMo simple project by a SSH connection with a remote machine (using OpenStack). In this environment the app cannot find the host. Does someone has an idea what is happening? > > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > at jacamo.infra.EnvironmentInspectorWeb.startHttpServer(EnvironmentInspectorWeb.java:53) > at jacamo.infra.JaCaMoLauncher.createEnvironment(JaCaMoLauncher.java:251) > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:238) > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > ... 4 more > java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known > at java.net.InetAddress.getLocalHost(InetAddress.java:1496) > at jason.architecture.MindInspectorWeb.startHttpServer(MindInspectorWeb.java:74) > at jason.architecture.MindInspectorWeb.get(MindInspectorWeb.java:45) > at jason.asSemantics.Agent.initAg(Agent.java:167) > at jason.asSemantics.Agent.create(Agent.java:137) > at jason.infra.centralised.CentralisedAgArch.createArchs(CentralisedAgArch.java:92) > at jason.infra.centralised.RunCentralisedMAS.createAgs(RunCentralisedMAS.java:465) > at jacamo.infra.JaCaMoLauncher.createAgs(JaCaMoLauncher.java:420) > at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:240) > at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) > Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) > at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) > at java.net.InetAddress.getLocalHost(InetAddress.java:1492) > > <pasted1.png> > > -- > > Cleber Jorge Amaral > Professor de Ensino Técnico e Tecnológico > Área de Telecomunicações > (48) 3381-2850 / Skype: clebercbr > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > www.sj.ifsc.edu.br > -- > --- > Cleber Jorge Amaral > Professor de Ensino Técnico e Tecnológico > Área de Telecomunicações > (48) 3381-2850 / Skype: clebercbr > > IFSC - Instituto Federal de Santa Catarina - Câmpus São José > Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 > www.sj.ifsc.edu.br > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e_______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: Cleber A. <cle...@gm...> - 2016-06-06 20:06:25
|
Hi there, First, is this list also suitable to talk about JaCaMo projects? I am running eclipse IDE and debugging a JaCaMo simple project by a SSH connection with a remote machine (using OpenStack). In this environment the app cannot find the host. Does someone has an idea what is happening? java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1496) at jacamo.infra.EnvironmentInspectorWeb.startHttpServer(EnvironmentInspectorWeb.java:53) at jacamo.infra.JaCaMoLauncher.createEnvironment(JaCaMoLauncher.java:251) at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:238) at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) at java.net.InetAddress.getLocalHost(InetAddress.java:1492) ... 4 more java.net.UnknownHostException: mas4opc-server: mas4opc-server: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1496) at jason.architecture.MindInspectorWeb.startHttpServer(MindInspectorWeb.java:74) at jason.architecture.MindInspectorWeb.get(MindInspectorWeb.java:45) at jason.asSemantics.Agent.initAg(Agent.java:167) at jason.asSemantics.Agent.create(Agent.java:137) at jason.infra.centralised.CentralisedAgArch.createArchs(CentralisedAgArch.java:92) at jason.infra.centralised.RunCentralisedMAS.createAgs(RunCentralisedMAS.java:465) at jacamo.infra.JaCaMoLauncher.createAgs(JaCaMoLauncher.java:420) at jacamo.infra.JaCaMoLauncher.create(JaCaMoLauncher.java:240) at jacamo.infra.JaCaMoLauncher.main(JaCaMoLauncher.java:97) Caused by: java.net.UnknownHostException: mas4opc-server: Name or service not known at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316) at java.net.InetAddress.getLocalHost(InetAddress.java:1492) [image: pasted1] -- Cleber Jorge Amaral Professor de Ensino Técnico e Tecnológico Área de Telecomunicações (48) 3381-2850 / Skype: clebercbr IFSC - Instituto Federal de Santa Catarina - Câmpus São José Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 www.sj.ifsc.edu.br -- --- Cleber Jorge Amaral Professor de Ensino Técnico e Tecnológico Área de Telecomunicações (48) 3381-2850 / Skype: clebercbr IFSC - Instituto Federal de Santa Catarina - Câmpus São José Rua José Lino Kretzer, 608, Praia Comprida São José / SC - CEP 88103-310 www.sj.ifsc.edu.br |
From: Claudio A. <cal...@di...> - 2016-04-26 22:42:09
|
Thanks for your answer. The problem was because I have been writing agent capture { ag-bb-class: jason.bb.TextPersistentBB } however, it is recognized only when written as agent capture { ag-bb-class: jason.bb.TextPersistentBB } or agent capture { ag-bb-class: jason.bb.TextPersistentBB } Claudio R Alexandre -- View this message in context: http://jason.2324890.n4.nabble.com/Jacamo-project-file-parameter-tp812p814.html Sent from the jason-users mailing list archive at Nabble.com. |
From: Jomi H. <jom...@gm...> - 2016-04-26 22:11:52
|
Hello Claudio, when you create a new jacamo project, the .jcm file has comments on how to configure each part. In the case of the agents, we will find: ... agent bob : participant.asl { // if source is omitted, bob.asl will be used beliefs: p("this is a condition",15000) // initial beliefs friend(alice) goals: start, go(home) // initial goals debug: mindinspector(gui(2000,html,history)) // starts the mind inspector for the agent (details at http://jason.sourceforge.net/faq/faq.html -- How to log agents' mind states?) verbose: 2 // 0 means only agent output, 1 means agent+jason output, 2 means agent+jason+debug output ag-class: tt.MyAgClass // if omitted, Jason Agent default class will be used ag-arch: myp.myArch1 mypkg.MyCustomAgArch // CArtAgO arch is automatically included, if necessary, JADE arch is automatically included ag-bb-class: my.Bb // ******* Here BB options ************ … HTH, Jomi > On 25 Apr 2016, at 19:45, Claudio Alexandre <cal...@di...> wrote: > > Please, where can I find a better description of the parameters that can be used in Jacamo Project File (.jcm)? The default documentation is not clear about how can I define "beliefBaseClass" "TextPersistentBB" or "JDBCPersistentBB" classes? Thanks in advance Claudio R Alexandre > View this message in context: Jacamo project file parameter > Sent from the jason-users mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: Claudio A. <cal...@di...> - 2016-04-25 18:19:08
|
Please, where can I find a better description of the parameters that can be used in Jacamo Project File (.jcm)?The default documentation is not clear about how can I define "beliefBaseClass" "TextPersistentBB" or "JDBCPersistentBB" classes? Thanks in advanceClaudio R Alexandre -- View this message in context: http://jason.2324890.n4.nabble.com/Jacamo-project-file-parameter-tp812.html Sent from the jason-users mailing list archive at Nabble.com. |
From: Norzaidah Md N. <nor...@gm...> - 2016-04-15 01:41:56
|
Owh, that's the reason my code is giving me the error.. :D Thanks a lot, sir. It does help. :) On Thu, Apr 14, 2016 at 11:33 PM, Gustavo Ortiz Hernández <gu...@gm...> wrote: > Hi Norzaidah! > > have you already tried enclosing the name of the class as "myp.CairoGUI", > since the term should be string. > > hope it helps > > 2016-04-14 9:20 GMT+02:00 Norzaidah Md Noh <nor...@gm...>: > >> Hi there, >> >> Firstly, I am very sorry if my question is quite too rookie. But, I am >> running my program and kept getting the error: >> >> [login] Error in internal action >> '.create_agent(UserName,"studentAssistant.asl",[agentArchClass(myp.CairoGUI)])' >> (login.asl:9): null >> >> what is wrong with the way I create the agent? I already have my >> myp.CairoGUI.java file, which extends AgArch. Am I doing this correctly? >> >> I hope someone would be helpful to assist me.. >> >> Thanks. >> >> >> -- >> ~norzaidah >> >> >> ------------------------------------------------------------------------------ >> Find and fix application performance issues faster with Applications >> Manager >> Applications Manager provides deep performance insights into multiple >> tiers of >> your business applications. It resolves application problems quickly and >> reduces your MTTR. Get your free trial! >> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z >> _______________________________________________ >> Jason-users mailing list >> Jas...@li... >> https://lists.sourceforge.net/lists/listinfo/jason-users >> >> > -- ~norzaidah |
From: Gustavo O. H. <gu...@gm...> - 2016-04-14 15:33:09
|
Hi Norzaidah! have you already tried enclosing the name of the class as "myp.CairoGUI", since the term should be string. hope it helps 2016-04-14 9:20 GMT+02:00 Norzaidah Md Noh <nor...@gm...>: > Hi there, > > Firstly, I am very sorry if my question is quite too rookie. But, I am > running my program and kept getting the error: > > [login] Error in internal action > '.create_agent(UserName,"studentAssistant.asl",[agentArchClass(myp.CairoGUI)])' > (login.asl:9): null > > what is wrong with the way I create the agent? I already have my > myp.CairoGUI.java file, which extends AgArch. Am I doing this correctly? > > I hope someone would be helpful to assist me.. > > Thanks. > > > -- > ~norzaidah > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications > Manager > Applications Manager provides deep performance insights into multiple > tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > _______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users > > |
From: Jomi H. <jom...@gm...> - 2016-04-14 15:24:34
|
Hi Norzaidah, The command as you used seems all right! In order to identify the problem 1) could you try it without the third argument (the agent architecture) and see if it works 2) ensure that the variable UserName has an assigned value 3) ensure that the file studentAssistant.asl is in the project folder (or src/asl folder; or in a folder listed in aslSourcePath) Regards, Jomi > On 14 Apr 2016, at 09:20, Norzaidah Md Noh <nor...@gm...> wrote: > > Hi there, > > Firstly, I am very sorry if my question is quite too rookie. But, I am running my program and kept getting the error: > > [login] Error in internal action '.create_agent(UserName,"studentAssistant.asl",[agentArchClass(myp.CairoGUI)])' (login.asl:9): null > > what is wrong with the way I create the agent? I already have my myp.CairoGUI.java file, which extends AgArch. Am I doing this correctly? > > I hope someone would be helpful to assist me.. > > Thanks. > > > -- > ~norzaidah > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: Norzaidah Md N. <nor...@gm...> - 2016-04-14 07:20:19
|
Hi there, Firstly, I am very sorry if my question is quite too rookie. But, I am running my program and kept getting the error: [login] Error in internal action '.create_agent(UserName,"studentAssistant.asl",[agentArchClass(myp.CairoGUI)])' (login.asl:9): null what is wrong with the way I create the agent? I already have my myp.CairoGUI.java file, which extends AgArch. Am I doing this correctly? I hope someone would be helpful to assist me.. Thanks. -- ~norzaidah |
From: J. F. H. <jom...@gm...> - 2016-01-26 10:19:32
|
Dear Kemas, indeed logical programming is “bizarre” initially and vars car not change their values, they are more like mathematical variables. if you want do to something with all members of a list that have condition c, you can write: for( .member(I,List) & c(I) ) { …. process I … } for instance, suppose the list has numbers and you want to print those greater than 20: for( .member(I,List) & I > 20 ) { .print(I); } the for in Jason iterates on all solutions for the query that is given as parameter. HTH, Jomi ps.: sorry for taking so long to answer. > On 21 Jan 2016, at 02:41, Kemas Muslim <kem...@ya...> wrote: > > Hi, > > I am trying to loop inside a list, but I want to use "while" instead of "for" loop because I want the loop stops if it finds a member that satisfied some criteria. > Before I do that, I have tried to code a plan to find out how "while" behaves in Jason as follows: > > +!test_while : true <- > L = [1,2,3]; > .length(L,Len); > I = 0; > while (I < Len) { > .nth(I,L,X); > .print(X); > I = I + 1; // this causes an error > }. > > Unfortunately, when I run the code, it gives me the following error: > > "No failure event was generated for +!test_while[code((0 = 1)),code_line(78),code_src("robot.asl"),error(constraint_failed),error_msg("Constraint (I = (I+1)); .loop((I < Len),{ .nth(I,L,X); .print(X); (I = (I+1)) },{L=[1,2,3], I=0, Len=3}) was not satisfied (robot.asl:82) un={L=[1,2,3], Len=3, I=0, X=1}"),source(self)]" > > I also found out that when a variable is assigned a value, it cannot be assigned with another value. > > I = 0; > I = 1; // this also gives similar error > > Did I do something wrong? > Is there any other approach to loop on a list and stop before it reaches the last element? > > Thank you very much in advance. > > Best regards, > > -- > Kemas Muslim > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: Kemas M. <kem...@ya...> - 2016-01-21 01:43:47
|
Hi, I am trying to loop inside a list, but I want to use "while" instead of "for" loop because I want the loop stops if it finds a member that satisfied some criteria.Before I do that, I have tried to code a plan to find out how "while" behaves in Jason as follows: +!test_while : true <- L = [1,2,3]; .length(L,Len); I = 0; while (I < Len) { .nth(I,L,X); .print(X); I = I + 1; // this causes an error }. Unfortunately, when I run the code, it gives me the following error: "No failure event was generated for +!test_while[code((0 = 1)),code_line(78),code_src("robot.asl"),error(constraint_failed),error_msg("Constraint (I = (I+1)); .loop((I < Len),{ .nth(I,L,X); .print(X); (I = (I+1)) },{L=[1,2,3], I=0, Len=3}) was not satisfied (robot.asl:82) un={L=[1,2,3], Len=3, I=0, X=1}"),source(self)]" I also found out that when a variable is assigned a value, it cannot be assigned with another value. I = 0;I = 1; // this also gives similar error Did I do something wrong?Is there any other approach to loop on a list and stop before it reaches the last element? Thank you very much in advance. Best regards, -- Kemas Muslim |
From: Larissa <256...@qq...> - 2015-12-16 16:42:46
|
Thank you for your response but verbose did not solve the problem. -- View this message in context: http://jason.2324890.n4.nabble.com/Re-SPAM-Issue-with-the-GUI-tp804p805.html Sent from the jason-users mailing list archive at Nabble.com. |
From: Jomi H. <jom...@gm...> - 2015-11-25 09:06:09
|
Hello Larissa, I don’t know RinSim, but since it is written in Java it should be simple to integrate it with Jason. The simplest integration is by either jason or cartago environments, they will map the simulation data and methods into perception and actions for the agents. HTH, Jomi > On 24 Nov 2015, at 18:44, Larissa <256...@qq...> wrote: > > Hi, > > Recently I am interested in developing multi-agent system. And actually, I am working on a project using Rinsim. > Rinsim is a logistics simulator written in Java ( https://github.com/rinde/RinSim ) . > I want to use Jason to create my agents , is it possible to run a Jason agents in Rinsim simulator? > Is it possible to use another environment beside Jason environment or Cartago environment? > > Hoping to hear from you soon, > > Larissa > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140_______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: L. <256...@qq...> - 2015-11-24 17:45:09
|
Hi, Recently I am interested in developing multi-agent system. And actually, I am working on a project using Rinsim. Rinsim is a logistics simulator written in Java ( https://github.com/rinde/RinSim ) . I want to use Jason to create my agents , is it possible to run a Jason agents in Rinsim simulator? Is it possible to use another environment beside Jason environment or Cartago environment? Hoping to hear from you soon, Larissa |
From: Alexey T. <ato...@gm...> - 2015-11-22 14:25:33
|
Hi. I'm trying to install jason system-wide, in read-only directory (/usr/share/java/jason). It works from there, but has strange behaviour - it always notifies of available updates and has version 0.3a in ~/.jason/user.properties. When run from other directory, it works fine. P.S. Why are bugs write access is closed? Alexey |
From: Jomi H. <jom...@gm...> - 2015-11-11 19:46:28
|
Hi Luna, I implemented a new internal action to store the agent into a file, you can use it as follows: …. .save_agent(“x.asl”); … it will save the beliefs, rules and plans of the agent into the file x.asl. Optionally, you can include initial goals: …. .save_agent(“x.asl”, [say(hello)] ); // it includes !say(hello) in x.asl … to use this new internal action, replace your jason.jar by the one available at https://www.dropbox.com/s/thgepw5xogr4gjn/jason.jar?dl=0 HTH, Jomi > On 5 de nov de 2015, at 15:25, Wulfrano Arturo Luna Ramírez <wul...@gm...> wrote: > > Dear Professor Hubner, > > It would be very appreciated your help. > > I tried to do something like this: > > //Calling: > > saveAgent("nvoAg.asl",ag.getAgState().toString()); > > public void saveAgent(String arch, String agente){ > BufferedWriter output = null; > try { > File file = new File(arch); > output = new BufferedWriter(new FileWriter(file)); > output.write(agente); > output.close(); > } catch ( IOException e ) { > e.printStackTrace(); > } > } > > But, it doesn't works. So, if you can sent the code to me it would be wonderful. > > > Thank you so much, > > Arturo Luna > > > 2015-11-05 12:41 GMT+00:00 Jomi Hubner <jom...@gm...>: > Dear Arturo, > > to dynamically change the plan library, you can use internal actions like .add_plan (see http://jason.sourceforge.net/api/jason/stdlib/package-summary.html#package.description) > > Note that plan parameter can be built from variables, example: > > Action = { .print(a); .print(b) }; > .add_plan( {+!g : c & b <- Action} ); > +c; > +b; > !g; > .list_plans. > > Unfortunately, there is no internal actions to store the plans (and beliefs) into a file. But is is quite easy to write them in Java. (if you want, I can write them and send to you.) > > HTH, > > Jomi > > > > > > On 4 de nov de 2015, at 12:31, Luna Ramirez, Wulfrano A <wa...@es...> wrote: > > > > Hi, > > > > I'm looking for the method to rewrite the code of one agent (at running time) once I have modified their plan library (i.e. adding or deleting plans or actions in those plans), is it possible?, > > otherwise, > > how can I save the complete state of an agent into a file (once it is modified). > > > > Thank you for your help! > > > > Arturo > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Jason-users mailing list > > Jas...@li... > > https://lists.sourceforge.net/lists/listinfo/jason-users > > -- > Jomi Fred Hubner > Federal University of Santa Catarina > Department of Automation and Systems Engineering > PO Box 476, Florianópolis, SC > 88040-900 Brazil > http://www.das.ufsc.br/~jomi > > > > > -- > M. en I.A. Wulfrano Arturo Luna Ramírez > > Universidad Autónoma Metropolitana > Unidad Cuajimalpa > División de Ciencias de la Comunicación y Diseño > Departamento de Tecnologías de la Información > Tel. +52 (55) 5814 6557 > http://hermes.cua.uam.mx > ________ > | \__°__ / | wl...@co... > |_______ | wul...@gm... > -- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://www.das.ufsc.br/~jomi |
From: Jomi H. <jom...@gm...> - 2015-11-05 12:41:39
|
Dear Arturo, to dynamically change the plan library, you can use internal actions like .add_plan (see http://jason.sourceforge.net/api/jason/stdlib/package-summary.html#package.description) Note that plan parameter can be built from variables, example: Action = { .print(a); .print(b) }; .add_plan( {+!g : c & b <- Action} ); +c; +b; !g; .list_plans. Unfortunately, there is no internal actions to store the plans (and beliefs) into a file. But is is quite easy to write them in Java. (if you want, I can write them and send to you.) HTH, Jomi > On 4 de nov de 2015, at 12:31, Luna Ramirez, Wulfrano A <wa...@es...> wrote: > > Hi, > > I'm looking for the method to rewrite the code of one agent (at running time) once I have modified their plan library (i.e. adding or deleting plans or actions in those plans), is it possible?, > otherwise, > how can I save the complete state of an agent into a file (once it is modified). > > Thank you for your help! > > Arturo > ------------------------------------------------------------------------------ > _______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users -- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://www.das.ufsc.br/~jomi |
From: Luna R. W. A <wa...@es...> - 2015-11-04 11:32:08
|
Hi, I'm looking for the method to rewrite the code of one agent (at running time) once I have modified their plan library (i.e. adding or deleting plans or actions in those plans), is it possible?, otherwise, how can I save the complete state of an agent into a file (once it is modified). Thank you for your help! Arturo |
From: Jomi F. H. <jom...@uf...> - 2015-10-19 08:39:28
|
Hi Karandeep, > On 16/10/2015, at 10:58, karandeep <kar...@gm...> wrote: > > Hello again. > > With your help, I have implemented my project for certain number of agents > :-). > But when I tried to increase number of agents, I faced some issues. I > increased heap size and some other adjustments in code, but I wasn't very > successful. > My project involves medium to large amount of communication between the > agents. Right now, I am able to execute about 1500 agents. > I have two questions: > > 1) I came to know about 'pool' configuration from demos, but when I try to > us that, I get this error: > > [RunCentralisedMAS] Created 200 agents. > [RunCentralisedMAS] Error getting the number of thread for the pool. this error means that jason could not parse the number of threads. Usually it should look like: …. Centralised(pool,4) // 4 threads (usually we put the number of cores of the machine) …. > > and my simulation does not proceed. Without 'pool' configration, it runs > alright. You can see that here I tried only for 200 agents, and still it > threw this error. > > 2) My second question is, I am using time stepped environment and I am using > timeout ( like 5000 ms) for each step. But this is not best solution since > in my simulation, in first step there is relatively large amount of > processing and then it is comparatively less in subsequent steps, so this > standard time out for each step is a overhead. Can something be done about > it. Does it have something to do with testEndCycle? yes, you can override this method for special cases of end of cycle, like that you describe below. (see the source src/jason/environment/TimeSteppedEnvironment.java for more details). Otherwise, I can provide you a new implementation of jason where there will be a method like setTimeOut, that you can use to decrease the initial timeout. HTH, Jomi > In each step, I have agents which satisfy certain conditions, and based on > those, only certain no. of agents undergo processing. (e.g.,the age of > agents increases in each step and they may become available based on that in > coming steps). > > Thanks & Regards, > Karandeep > > > > -- > View this message in context: http://jason.2324890.n4.nabble.com/unable-to-understand-Jason-Behavior-tp781p795.html > Sent from the jason-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users |
From: karandeep <kar...@gm...> - 2015-10-16 09:09:08
|
Hello again. With your help, I have implemented my project for certain number of agents :-). But when I tried to increase number of agents, I faced some issues. I increased heap size and some other adjustments in code, but I wasn't very successful. My project involves medium to large amount of communication between the agents. Right now, I am able to execute about 1500 agents. I have two questions: 1) I came to know about 'pool' configuration from demos, but when I try to us that, I get this error: [RunCentralisedMAS] Created 200 agents. [RunCentralisedMAS] Error getting the number of thread for the pool. and my simulation does not proceed. Without 'pool' configration, it runs alright. You can see that here I tried only for 200 agents, and still it threw this error. 2) My second question is, I am using time stepped environment and I am using timeout ( like 5000 ms) for each step. But this is not best solution since in my simulation, in first step there is relatively large amount of processing and then it is comparatively less in subsequent steps, so this standard time out for each step is a overhead. Can something be done about it. Does it have something to do with testEndCycle? In each step, I have agents which satisfy certain conditions, and based on those, only certain no. of agents undergo processing. (e.g.,the age of agents increases in each step and they may become available based on that in coming steps). Thanks & Regards, Karandeep -- View this message in context: http://jason.2324890.n4.nabble.com/unable-to-understand-Jason-Behavior-tp781p795.html Sent from the jason-users mailing list archive at Nabble.com. |
From: Jomi H. <jom...@gm...> - 2015-09-24 13:44:38
|
Hi Karandeep, I don’t think there is a bug in the .member internal action, since it is used quite a lot. Could it be the case that the name N is a string? (the values in L are atoms an atoms are not equal to strings. For instance, .member(“bob”, [alice,bob]) is false. If that is the case, you can use .term2string to change the type of N. HTH, Jomi > On 24/09/2015, at 08:59, karandeep <kar...@gm...> wrote: > > Hi, > > I was trying some simulation in which there is multiple communication > between the multiple agents of two types ( say A type agents and B type > agents, 100 each). With your suggestion before, I was able to do it using a > loop like this: > > while ( v(X) & X <101){ > .concat(agent, X, N); > -+v(X+1); > .send(N, achieve, match(A)); > > i.e. messages are sent to agent1, agnet2 and so on. > > I have some requirement in which is need to remove the agents from > simulation. I do that using .kill_agent. > But now, since some agents have been removed from simulation, .send throws > up an error. > I tried solving it using it .all_names(L). If (.member(N,L)), then send the > messages, this way each time, message would be sent only to the agents > actually present. > But .member(N,L) doesn't work for me. N & L has correct values, I have > checked them using .print. > Can you tell me the reason and possible workaround for this problem. > > Thanks & Regards, > Karandeep > > > > -- > View this message in context: http://jason.2324890.n4.nabble.com/unable-to-understand-Jason-Behavior-tp781p791.html > Sent from the jason-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > Jason-users mailing list > Jas...@li... > https://lists.sourceforge.net/lists/listinfo/jason-users -- Jomi Fred Hubner Federal University of Santa Catarina Department of Automation and Systems Engineering PO Box 476, Florianópolis, SC 88040-900 Brazil http://www.das.ufsc.br/~jomi |
From: karandeep <kar...@gm...> - 2015-09-24 07:07:43
|
Hi, I was trying some simulation in which there is multiple communication between the multiple agents of two types ( say A type agents and B type agents, 100 each). With your suggestion before, I was able to do it using a loop like this: while ( v(X) & X <101){ .concat(agent, X, N); -+v(X+1); .send(N, achieve, match(A)); i.e. messages are sent to agent1, agnet2 and so on. I have some requirement in which is need to remove the agents from simulation. I do that using .kill_agent. But now, since some agents have been removed from simulation, .send throws up an error. I tried solving it using it .all_names(L). If (.member(N,L)), then send the messages, this way each time, message would be sent only to the agents actually present. But .member(N,L) doesn't work for me. N & L has correct values, I have checked them using .print. Can you tell me the reason and possible workaround for this problem. Thanks & Regards, Karandeep -- View this message in context: http://jason.2324890.n4.nabble.com/unable-to-understand-Jason-Behavior-tp781p791.html Sent from the jason-users mailing list archive at Nabble.com. |