|
|
|
|
|
May 27th, 2005, 01:49 PM
|
|
General
|
|
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
|
|
Re: interview with Aaron Hall
Who says recursion wouldn't be possible? As long as he lets us define functions, couldn't we do something like this:
Code:
function plan(n) {
if n > 0 {
plan(n-1)
// plan ahead for turn now + n
}
else {
// do stuff for this turn
}
}
We'd just have to make sure not to code any infinite loops
__________________
The Ed draws near! What dost thou deaux?
|
May 27th, 2005, 02:03 PM
|
Private
|
|
Join Date: Jan 2001
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: interview with Aaron Hall
Quote:
Ed Kolis said:
Who says recursion wouldn't be possible? As long as he lets us define functions, couldn't we do something like this:
Code:
function plan(n) {
if n > 0 {
plan(n-1)
// plan ahead for turn now + n
}
else {
// do stuff for this turn
}
}
We'd just have to make sure not to code any infinite loops
|
It depends:
1) We wouldn't be using a commercial development package for this. Like you said, the AI parser/compiler would be done using tools Aaron and the dev team provide, so that functionality is up to them.
2) Would they even want to implement recursion for us, with all the implications we've both mentioned?
3) And how much power do they want to give to recoding the AI versus more limited customization? Space Empires isn't open source. I could even see someone coming up with a really whiz-bang AI mod and selling it for profit.
Andy
|
May 27th, 2005, 02:37 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
|
|
Re: interview with Aaron Hall
Quote:
aiken said:
Superb code Ed
Though, if-elif-else's are nice for simple finite state machines, they're not sufficient to write something decent. I seriously hope it will be possible to code a bayesian networks (or even implement a genetic algos!!) with this scriptining language.
/me crosses fingers
|
Huh?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
|
May 27th, 2005, 03:20 PM
|
|
General
|
|
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
|
|
Re: interview with Aaron Hall
Don't worry, I have no idea what Bayesian networks are either... perhaps they're something like neural networks???
Genetic algorithms = code that evolves like a living species.
__________________
The Ed draws near! What dost thou deaux?
|
May 27th, 2005, 03:45 PM
|
Private
|
|
Join Date: Jan 2001
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: interview with Aaron Hall
Quote:
Ed Kolis said:
Don't worry, I have no idea what Bayesian networks are either... perhaps they're something like neural networks???
Genetic algorithms = code that evolves like a living species.
|
My limited understanding: A Bayesian network uses mass amounts of data to predict a situation's probable outcomes, and therefore determine how to behave. Similar to looking for a "law of averages" on a really big scale.
That's all I can tell you - Not being a programmer, I don't know how this is applied to game theory.
Andy
|
May 27th, 2005, 05:36 PM
|
|
Major
|
|
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: interview with Aaron Hall
Quote:
abkaiser said:That's all I can tell you - Not being a programmer, I don't know how this is applied to game theory.
|
Allows AI to effectively use incomplete information about its enviroment to make decisions in uncertain situations with many possible outcomes. Good for long term planning.
Drawbacks are serious requirements in computational power and need for primary accumulation of info.
Not a coder too - used it for urban development model.
More: http://www.niedermayer.ca/papers/bayesian/bayes.html
|
May 27th, 2005, 08:18 PM
|
|
Lieutenant Colonel
|
|
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Bayes Nets
Technically, bayesian nets would not be used for an AI. All they do is generate probabilities, based on known data. The AI would only come in when you make decisions based on these predicted probabilities.
I guess you could kludge together an AI that "learns" what actions to take using Bayes nets, by observing the data availible to a human player, and noting the probablilities of certain actions. This could create the interesting possibility of an AI that plays just like a particular human player. Only the AI would still not be able to generate their own strategies, only go off observed strategies.
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|