From: "Kai Kaminski" <kok@wtal.de>
To: caml-list@inria.fr
Subject: [Caml-list] Playing Soccer with OCaml
Date: Mon, 29 Oct 2001 18:39:00 +0100 [thread overview]
Message-ID: <20011029183900.A717@alpha2.tabu.stw-bonn.de> (raw)
Hi,
I'm currently taking part in a university project, which is about
teaching robots to play soccer. My task is the path-finding module. It
is responsible for finding short paths, while considering moving
obstacles (team mates, enemy robots and the ball). I will probably use
Dijkstra or Markov Decision Processes to accomplish this. Not because
I'm a great friend of these algos (in fact I don't know nothing about
them yet) but my lecturer told me that these were suitable. Since I
fell in love with OCaml some weeks ago, I am considering implementing
the module in OCaml. First, to improve my OCaml skills, and second to
show my colleagues the power of OCaml.
(* They are all JAVA people. When I tell them about functional
languages they think I want to go back to Turbo Pascal :(
*)
Now there are several questions for me:
- I'm new to OCaml and functional programming. I have some experience
with C/C++, Pascal and Asm. But I don't think that this will help
me. Do you think it is possible for a newbie to implement such
algorithms within five or six month in reasonably quality?
- We use CORBA for communication (omniORB). How difficult is it to
communicate with C++ modules via CORBA. As I understand it, CamlIDL
could help me here, but I'm not sure.
- Is OCaml fast enough? We need to do all the work for 4-6 robots on
one linux machine (Intel at ~400MHz).
- Is OCaml a good choice to implement these algorithms? A better
choice than C++ at least? (Ok, I know: OCaml is *always* the better
choice ;-)
- What about SunOS? This port is not a requirement, but it would be
nice.
- Any pointers on how to implement these algos in a functional
language?
- Are there any other algos you would recommend?
Thanks in advance,
Kai Kaminski
PS: I'm not really a cs guy, I'm more involved with mathematics.
Therefore abstraction doesn't make me cry. On the other hand, I've
just started my second year at university...
PPS: If you are a native speaker please correct at least a few of my
mistakes. But please remember the 5 MB limit on my mail server ;-)
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next reply other threads:[~2001-10-29 16:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-29 17:39 Kai Kaminski [this message]
2001-10-29 18:20 ` Alan Schmitt
2001-10-30 12:17 ` Xavier Leroy
2001-10-31 2:01 ` Rafael 'Dido' Sevilla
2001-11-08 8:31 ` Axel Poigné
2001-11-07 16:11 Damien Doligez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011029183900.A717@alpha2.tabu.stw-bonn.de \
--to=kok@wtal.de \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox