agentcontest / massim_2018 Goto Github PK
View Code? Open in Web Editor NEWSimulation platform for the Multi-Agent Programming Contest 2016 - 2018
Home Page: https://multiagentcontest.org/
License: GNU Affero General Public License v3.0
Simulation platform for the Multi-Agent Programming Contest 2016 - 2018
Home Page: https://multiagentcontest.org/
License: GNU Affero General Public License v3.0
Hi,
I am having an issue with the EIS item(...) percept.
XML:
<item name="item9" volume="6">
<item>item1</item>
<item>item7</item>
<item>item6</item>
<item>item0</item>
<item>item4</item>
<role>motorcycle</role>
<role>truck</role>
</item>
IILang:
item(item9,6,roles([,]),parts([,,,,]))
The values seem to be lost in translation from XML to IILang...
Rem
Hi. I'm new in MASSIM. while I run the server in windows platform there is no problem but as I run the server in my mac system when I just use monitor option I get an error and couldn't find the solution why.
I use this command to run the server in terminal :
java -jar server-2017-0.7-jar-with-dependencies.jar --monitor 8000
and there will be no problem without monitor option.
this is the exact error:
java.lang.IllegalArgumentException: Malformed IPv6 address at index 8: http://[USER]:8000/
at java.net.URI.create(URI.java:852)
at org.webbitserver.netty.NettyWebServer.localUri(NettyWebServer.java:338)
at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:85)
at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:79)
at org.webbitserver.netty.NettyWebServer.<init>(NettyWebServer.java:75)
at org.webbitserver.WebServers.createWebServer(WebServers.java:19)
at massim.monitor.Monitor.<init>(Monitor.java:56)
at massim.Server.go(Server.java:181)
at massim.Server.main(Server.java:135)
Caused by: java.net.URISyntaxException: Malformed IPv6 address at index 8: http://[USER]:8000/
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.parseIPv6Reference(URI.java:3469)
at java.net.URI$Parser.parseServer(URI.java:3219)
at java.net.URI$Parser.parseAuthority(URI.java:3155)
at java.net.URI$Parser.parseHierarchical(URI.java:3097)
at java.net.URI$Parser.parse(URI.java:3053)
at java.net.URI.<init>(URI.java:588)
at java.net.URI.create(URI.java:850)
... 8 more
IF a Server is not present at ei.associateEntity is called, no exception is thrown to inform the user that the connection has failed.
Hi,
I am getting a class not found exception when I try to load the EIS environment, specifically:
Class "massim.javaagents.Main" could not be loaded from "eismassim-3.5-jar-with-dependencies.jar"
I'm just wondering whether I am doing something wrong (I am using EIS 0.5)
Thanks
Rem
EDIT: Just to add - I am using Eclipse and my own AOP language (ASTRA) to try to connect (everything works fine with MASSIM-2017-1.7)
Exception in thread "main" java.lang.NullPointerException
at massim.AgentManager$AgentProxy.close(AgentManager.java:332)
at massim.AgentManager$AgentProxy.access$500(AgentManager.java:134)
at massim.AgentManager.lambda$stop$2(AgentManager.java:58)
at java.util.HashMap$Values.forEach(HashMap.java:980)
at massim.AgentManager.stop(AgentManager.java:58)
at massim.Server.close(Server.java:127)
at massim.Server.main(Server.java:119)
Just seen in the log. No crash.
Hi guys,
Thanks for the previous fix - we have been playing with the new server - it is very nice.
I just have one thought - I tried to use the EIS method for getting the type of an entity, but it returns "unknown". Is this deliberate, or would it be possible to return the type (e.g. "drone") as this would allow me to assign the correct agent program to each entity without needing to manually map id's to types...
Rem
Documentation states that a goto
action " Consumes 10 charge units if successful. ":
https://github.com/agentcontest/massim/blob/massim-2018-1.2/docs/scenario.md#goto
However, the server configuration has an option gotoCost
to set the cost, and all the example config files under conf
have that option set to 1, not to 10.
If it is a config option in the server, it suggest the intention was to make this variable. However, there is no percept that will give the cost.
Am I missing something? Is the documentation wrong and should say 1? Or are the config files wrong and should all say 10?
Hi there,
Are there plans to publish the MASSim packages to Maven Central or the like? This will decrease the barrier of entry somewhat for accessing the MASSim libraries.
Cheers,
Matthew McNally
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.