Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Sail Challenge 1.0 Released by ANNEvolve Project



[EMAIL PROTECTED] wrote:
Ian Badcoe wrote:

On Tue, 11 Nov 2003 21:50:51 GMT, [EMAIL PROTECTED] wrote:


demuyt wrote:

At the moment we only have C software for this.  Theoretically, the
controller function could be written in a different language if it was
interfaced to the SailChallenge software.  What language do you like to
program in?

C++

Judoscript, an exentension of Java.


<Snip>

The very most general approach would be to run the simulator as a
TCP/IP server and the controller as a client which connects to it.
That's the only way I know to be really platform and language
independent.  The server does not necessarily need to be running on
your machine as the competitor can run his own local copy for testing.

Various frameworks already exist to implement systems like this but
most of them are probably heavier than you really need (and I don't
really know anything about them :).

To make such a system friendly for the competitor, you would probably
need to provide a small interface library for the user to do the
connecting, and communicating with the server.  That would need to be
compatible with whatever languages you support.  However, keen users
may make the effort to create that for you in their favourite
language...

Those are all good ideas.  All of the SailChallenge software is open
source.  When someone steps forward they will be welcomed.  Perhaps one
day we can all watch virtual sailboat races which are real competitions
between the programmers who create the conrollers.  My own role will be
minimal; I will offers advice & suggestions, and I will improve the
sailboat model, and make versions which simulate particular classes of
sailboat.  I'm also willing to replace the circular island with a
triangular course like that used in real sailboat racing.

I really think it's sad that you choose C to write your sailboat model.
If it would have been in Java it would have been so easy to write a http
plugin for client/server or even a display that shows the different controllers.


I'm trying to convert your c files to java but it's a tedious work that's not very rewarding until it's done. It's not easy to test if I do
it right nor is it a good choice for later maintenance. I'm seriously considering to give up on this path.


Cheers,
T.


Mitchell Timin






<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.