JGAP Robocode User Guide

眉间皱痕 提交于 2019-12-11 09:52:55

问题


I've had a look at the JGAP package from the robocode website and I have been getting problems when attempting to set it up. It seems that some of the files that are talked about are not actually in the download. For instance the line on the website says:-

"MyRobot that resides in subdirectory myrobots. In the above call, Aspirant3285 is used" 

However the above subdirectory or robot is not in the download also when attempting to run the JAR files the error bellow is shown:

"[main] WARN  org.jgap.robocode.EvolveRobot  - File not found"

Anyone who can give me a link to a tutorial or some advice on this fix would be much appreciated if further details are required feel free to ask.....

Regards..


回答1:


I'm not sure on the example from the website how the structure is set up as I was unable to get this running myself.

I've created a small example of how to get the two libraries integrated with each other and running in a very simple application to write, generate, battle and evolve a robot population which may help to get you going in the right direction.

https://github.com/samternent/robocode-jgap-template/



来源:https://stackoverflow.com/questions/20118639/jgap-robocode-user-guide

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!