UTC

For scripts to aid with computation or simulation in cellular automata.
Post Reply
User avatar
Freywa
Posts: 877
Joined: June 23rd, 2011, 3:20 am
Location: Singapore
Contact:

UTC

Post by Freywa » February 7th, 2015, 7:13 am

For quite a while I simply wanted a way to combine apgsearch census results into one document for easy viewing, but none were around. So I wrote my own one, the UTC (Universal Tabulator of Censuses). Unzip everything into where the apgsearch folder is located on your system; my results so far, included as the file totalcensus, involve only C1 soups (in an attempt to improve on Flammenkamp's monumental research two decades before).
utc.zip
(109.87 KiB) Downloaded 253 times
Note: This assumes you have the "hacked" version which allows for symmetry options.
Princess of Science, Parcly Taxel

Code: Select all

x = 31, y = 5, rule = B2-a/S12
3bo23bo$2obo4bo13bo4bob2o$3bo4bo13bo4bo$2bo4bobo11bobo4bo$2bo25bo!

User avatar
Kazyan
Posts: 1247
Joined: February 6th, 2014, 11:02 pm

Re: UTC

Post by Kazyan » February 7th, 2015, 11:06 am

Nice; this will make things easier when looking for specific still lifes for syntheses and such.

Can you modify it so that it can handle older versions of apgsearch outputs? I have a fair number of those back when I was running it pretty much 24/7. Currently, the script is giving me an 'invalid literal for int() with base 10' sort of error at line 22.
Tanner Jacobi
Coldlander, a novel, available in paperback and as an ebook. Now on Amazon.

User avatar
dvgrn
Moderator
Posts: 11166
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: UTC

Post by dvgrn » February 7th, 2015, 12:55 pm

Kazyan wrote:Can you modify it so that it can handle older versions of apgsearch outputs? I have a fair number of those back when I was running it pretty much 24/7. Currently, the script is giving me an 'invalid literal for int() with base 10' sort of error at line 22.
I seem to recall my stamp-collection-making script could handle different apgsearch versions pretty well -- not sure if that will be useful to anyone.

I was only concerned with collecting unique objects, and higher bit-count still lifes in particular, but it's pretty easy to adapt the code to count totals, as I did for the still-life frequency calculation back in November.

User avatar
Kazyan
Posts: 1247
Joined: February 6th, 2014, 11:02 pm

Re: UTC

Post by Kazyan » February 7th, 2015, 1:01 pm

dvgrn wrote:
Kazyan wrote:Can you modify it so that it can handle older versions of apgsearch outputs? I have a fair number of those back when I was running it pretty much 24/7. Currently, the script is giving me an 'invalid literal for int() with base 10' sort of error at line 22.
I seem to recall my stamp-collection-making script could handle different apgsearch versions pretty well -- not sure if that will be useful to anyone.

I was only concerned with collecting unique objects, and higher bit-count still lifes in particular, but it's pretty easy to adapt the code to count totals, as I did for the still-life frequency calculation back in November.
I used the stamp collection script for a while, but the code can't tell when a representation transitions into the soup number or full soup ID, which means that it often produces a still life and then some noise to the southeast. Those make up most of the, like, 50,000 "unique" still lifes that show up when I run the code. I'd modify the code myself, but it's like German to me--I can get bits and pieces, but not enough for anything useful.
Tanner Jacobi
Coldlander, a novel, available in paperback and as an ebook. Now on Amazon.

User avatar
dvgrn
Moderator
Posts: 11166
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI
Contact:

Re: UTC

Post by dvgrn » February 7th, 2015, 1:38 pm

Kazyan wrote:Those make up most of the, like, 50,000 "unique" still lifes that show up when I run the code. I'd modify the code myself, but it's like German to me--I can get bits and pieces, but not enough for anything useful.
That's odd -- doesn't happen on my machine (not surprisingly). Probably you've been running some version of apgsearch that produces output with a slightly different format, which I didn't account for.

If you want, you could post an archive of a few of your apgsearch result files, and I'll adapt the script so that it builds a stamp collection and reports statistics for whatever that format is.

Post Reply