|
|
|
 |
|

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
|
Thread Tools |
|
Display Modes |
Hybrid 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
|
|
|
|
|