Bots and Simulations > Evolution and Internet Sharing Sims

Survival-of-the-fittest evobot

<< < (9/11) > >>

Griz:
hey ... that's pretty cool.
too bad the data only shows up with the program breaks tho ...
I was hoping to be able to watch as it runs but when running
the watch window is blanked.

isn't there a way to step thru the program from inside VB?
cycle by cycle or something along those lines?

and if not, why not? ;)

ok ... now hoping this watch window retains it's info from one session to
the next so I don't have to type them in each time but not going to hold
my breath.

by mistake I fired up version 2.4 but I see the fittest and score routines
are the same.

I reinstated your Investment Energy and it seems to work fine.

watching these values in the fittestFunction:

rob(fittest).nrg : 4624.108
rob(fittest).body * 10 : 3556.851

sure adds up to:
InvestedEnergy(fittest)  : 8180.958984375
for that bot.

and with 2 offspring:
rob(fittest).SonNumber : 2  

the score relfects more energy than just the above bot
so looks as if additional score from the offspring, eh?
score(fittest, 1, 2, 0) : 17583.1732788086

however, the numbers don't add up.
I get one of it's offspring having zero nrg and zero body ...
[the one still tied] and the other only 59 nrg and 7.5 body ...
so not sure how that translates to 17583 for the score.

and ... the bot is highlighted.
this is in version 2.4

will do the same in 2.37.6 and see what's up.

so? it looks like it sorta works to me.  ??????????

Griz:

--- Quote ---Sorry. I guess I assumed that you knew about the basic scripts that are already set up in the program.
--- End quote ---
I recall looking at them long ago and not having a clue what they were.
now at least I know something about them.

well great ... I had no idea one could do all that with them.
excellent.
thanks


--- Quote ---More complex scripts that watch for specific conditions in the game will require quite a chunk of programming to make them work. There is no framework at all for them right now.
--- End quote ---
right.

my head hurts already from playing with this scoring and fittest bot thing ...
but I learned a bit about VB in the process.
who knows, by the end of the decade I may be a whizz. ;)

Griz:

--- Quote ---however, the numbers don't add up.
I get one of it's offspring having zero nrg and zero body ...
[the one still tied] and the other only 59 nrg and 7.5 body ...
--- End quote ---
my bad. I see why.
the robot ID's were 162 and 192, but that doesn't tell me what
robot number they are.  
unless I were to go thru all 128 bots looking for rob(t).AbsNum = 162 or 192 ...
and then using that bot number to read their body and energy ...
nah ... I think it works. ;)

Numsgil:
Be double sure to test it, that functions slippery.

I can help you create a pop up window to help set weights for various attributes.

Ideally I'd prefer to add it to the new C++ port, but I don't know that it's that far yet.  Maybe...

Griz:

--- Quote ---Be double sure to test it, that functions slippery.

I can help you create a pop up window to help set weights for various attributes.

Ideally I'd prefer to add it to the new C++ port, but I don't know that it's that far yet.  Maybe...
--- End quote ---
well, I'll continue to play with it as I find time ...
this is how I learn, try something and see what happens. ;)
I first have to learn enough about something to be able to ask questions
so that's all I'm doing, playing until I run up against a block ...
and then asking about it.
so I will certainly have many questions and could use some pointers.
just give me some basics in starting a pop-up window for starters.
I figured I would go look at how your physics or costs setting get entered
into a window and maybe figure it out.

I figure the fittest calcs can use score(t,1,2,0) + a number of other variables
and weights that can be added to the score, a weight of zero effectively
taking that variable out of play.

but I have no clue as far as how to get such a window started.
so ... guess that's the place to begin. ;)

whatever we come up with in the process might then be of use to
you when you are ready to port it over. might as well work out the
bugs here, eh?  
so if you can point me in some direction, I'll do that grunt work ...
and bug you with questions and who knows, maybe be of some help.
and in the process, I discover something I didn't know before ...
which is the real reason I do anything I do. ;)

all grist for the mill.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version