----------paste-----------
Life started on Thu Apr 28 00:14:29 2005.
*** CellLife (109, 69) ***
.....................................................................
.....................................................................
.....................................................................
.....................................................................
....................**.........................**....................
....................**.*.**...............**.*.**....................
....................*..*.*.*.............*.*.*..*....................
.....................*...*.*.............*.*...*.....................
.....................*.**.*...............*.**.*.....................
.......................*.....................*.......................
...................*.**.......................**.*...................
.....................................................................
...................**...........................**...................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.........*..............***...............***..............*.........
........***...*..........*.................*..........*...***........
.......*..***..*.**...............................**.*..***..*.......
......**...**......*.............................*......**...**......
.....**.*.***.......*......*..*.......*..*......*.......***.*.**.....
.....***.**....***.**......*..*.......*..*......**.***....**.***.....
........*.*....*.....****.*....*.....*....*.****.....*....*.*........
................*****.**..**...*.....*...**..**.*****................
.....**......**.*..**...**....*.......*....**...**..*.**......**.....
....*.......****........**...*.........*...**........****.......*....
....*.*.....**.........................................**.....*.*....
....*.*.......................................................*.*....
...**...........................................................**...
....*.*.......................................................*.*....
.....*.........................................................*.....
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.......................***...***.....***...***.......................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....*.........................................................*.....
....*.*.......................................................*.*....
...**...........................................................**...
....*.*.......................................................*.*....
....*.*.....**.........................................**.....*.*....
....*.......****........**...*.........*...**........****.......*....
.....**......**.*..**...**....*.......*....**...**..*.**......**.....
................*****.**..**...*.....*...**..**.*****................
........*.*....*.....****.*....*.....*....*.****.....*....*.*........
.....***.**....***.**......*..*.......*..*......**.***....**.***.....
.....**.*.***.......*......*..*.......*..*......*.......***.*.**.....
......**...**......*.............................*......**...**......
.......*..***..*.**...............................**.*..***..*.......
........***...*..........*.................*..........*...***........
.........*..............***...............***..............*.........
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
...................**...........................**...................
.....................................................................
...................*.**.......................**.*...................
.......................*.....................*.......................
.....................*.**.*...............*.**.*.....................
.....................*...*.*.............*.*...*.....................
....................*..*.*.*.............*.*.*..*....................
....................**.*.**...............**.*.**....................
....................**.........................**....................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
....................**.........................**....................
....................**...*.................*...**....................
........................*.*...............*.*........................
........................*..*.............*..*........................
.........................**...............**.........................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.........*.................................................*.........
........*.*...............................................*.*........
........*..*.............................................*..*........
.........**...............................................**.........
.....................................................................
.....................................................................
.............*.........................................*.............
............*.*.......................................*.*............
............*.*.......................................*.*............
.............*.........................................*.............
............................***.......***............................
.....................................................................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
.....*.........................................................*.....
.....*......................***.......***......................*.....
.....*.........................................................*.....
.....................................................................
.....................................................................
.....................................................................
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.......................***...***.....***...***.......................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....................................................................
.....................................................................
.....................................................................
.....*.........................................................*.....
.....*......................***.......***......................*.....
.....*.........................................................*.....
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
.....................................................................
............................***.......***............................
.............*.........................................*.............
............*.*.......................................*.*............
............*.*.......................................*.*............
.............*.........................................*.............
.....................................................................
.....................................................................
.........**...............................................**.........
........*..*.............................................*..*........
........*.*...............................................*.*........
.........*.................................................*.........
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.........................**...............**.........................
........................*..*.............*..*........................
........................*.*...............*.*........................
....................**...*.................*...**....................
....................**.........................**....................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
....................**.........................**....................
....................**...*.................*...**....................
........................*.*...............*.*........................
........................*..*.............*..*........................
.........................**...............**.........................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.........*.................................................*.........
........*.*...............................................*.*........
........*..*.............................................*..*........
.........**...............................................**.........
.....................................................................
.....................................................................
.............*.........................................*.............
............*.*.......................................*.*............
............*.*.......................................*.*............
.............*.........................................*.............
............................***.......***............................
.....................................................................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
.....*.........................................................*.....
.....*......................***.......***......................*.....
.....*.........................................................*.....
.....................................................................
.....................................................................
.....................................................................
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.......................***...***.....***...***.......................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
............................*...........*............................
...........................*.*.........*.*...........................
...........................*.*.........*.*...........................
............................*...........*............................
.....................................................................
.....................................................................
.....................................................................
.....*.........................................................*.....
.....*......................***.......***......................*.....
.....*.........................................................*.....
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
..........................*.....*...*.....*..........................
.....................................................................
............................***.......***............................
.............*.........................................*.............
............*.*.......................................*.*............
............*.*.......................................*.*............
.............*.........................................*.............
.....................................................................
.....................................................................
.........**...............................................**.........
........*..*.............................................*..*........
........*.*...............................................*.*........
.........*.................................................*.........
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.....................................................................
.........................**...............**.........................
........................*..*.............*..*........................
........................*.*...............*.*........................
....................**...*.................*...**....................
....................**.........................**....................
.....................................................................
.....................................................................
.....................................................................
*** CellLife (20, 20) ***
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
---------00---------
--------0000--------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
--------------------
---------00---------
--------------------
-------01**10-------
--------0000--------
-----00-0**0-00-----
--------.--.--------
---01**.*..*.**10---
----0000-..-0000----
--------1111--------
--------------------
-------011110-------
--------0000--------
--------------------
--------------------
--------------------
--------------------
Finished in 16554 milliseconds.
-RonB
Life started on Thu Apr 28 11:17:18 2005.
*** CellLife (109, 69) ***
.....................................................................
.....................................................................
[SNIP]
--------------------
--------------------
--------------------
Finished in 1240 milliseconds.
John Smart wrote:
> Here's Ron and my's main.out. This was run from Cygwin (slow as hell)
> but let me know if you guys get a better time.
>
> ----------paste-----------
>
> Life started on Thu Apr 28 00:14:29 2005.
>
> *** CellLife (109, 69) ***
> .....................................................................
> .....................................................................
<YOINK!!!>
I also had to change the population assertion on line 167 from 52 to 48
Anyone concur with my output?
Mine is different from Ron and John's output
Life started on Sun May 1 17:39:58 2005.
-------012210-------
--------0000--------
-----00------00-----
--------------------
---012343--343210---
----0000----0000----
---------11---------
"JJ" <n...@no.no> wrote in message news:d53m1a$bc4$1...@geraldo.cc.utexas.edu...
"JJ" <n...@no.no> wrote in message news:d53n88$c0g$1...@geraldo.cc.utexas.edu...
RonB
JJ used 100% recycled electrons to write:
>Actually, it was line 153, I had added some tests to the middle by accident
>
>
>
>"JJ" <n...@no.no> wrote in message news:d53m1a$bc4$1...@geraldo.cc.utexas.edu...
>> This is what I got for my output
>>
>> I also had to change the population assertion on line 167 from 52 to 48
>> Anyone concur with my output?
>>
>> Mine is different from Ron and John's output
>>
>>
>>
>> Life started on Sun May 1 17:39:58 2005.
>>
>> *** CellLife (109, 69) ***
>> .....................................................................
>> .....................................................................
>> .....................................................................
--------------------------------------------------
"It is human nature to take shortcuts in thinking"
--------------------------------------------------
Eugene
"Ron Blancarte" <ron@---TAKETHISOUT---.blancarte.com> wrote in message
news:lpta71l4fbdt3kh3f...@4ax.com...
What I did with the evolution was this:
I made a function defaulted to false but overloaded in fredkinCell to check
to see if evolving was a possibility.
In Cell, when calling updating the cells, I just checked to see if it was
evolution time
If so, then I gave the cell a new ConwayCell.
All I did to my code was add a default evolution function to abstractcell,
add the overloaded evolution function to fredkincell, and add a couple more
lines to Cell for the catch and assign new conwaycell.
Hope that helps
My new output:
Life started on Sun May 1 20:52:14 2005.
*** CellLife (109, 69) ***
.....................................................................
.....................................................................
.....................................................................
-------01**10-------
--------0000--------
-----00-0**0-00-----
--------.--.--------
---01**.*..*.**10---
----0000-..-0000----
--------1111--------
--------------------
-------011110-------
--------0000--------
--------------------
--------------------
--------------------
--------------------
"Ron Blancarte" <ron@---TAKETHISOUT---.blancarte.com> wrote in message
news:lpta71l4fbdt3kh3f...@4ax.com...