Hacking apgsearch
- Majestas32
- Posts: 549
- Joined: November 20th, 2017, 12:22 pm
- Location: 'Merica
Re: Hacking apgsearch
From what I've heard from others, by default apgsearch does periodicity checking every 30 generations since most oscillators in CGOL are divisible by this. However, for other rules, a different value of this would be more efficient. Where in the code is this number to change?
Searching:
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
- yujh
- Posts: 3069
- Joined: February 27th, 2020, 11:23 pm
- Location: I'm not sure where I am, so please tell me if you know
- Contact:
Re: Hacking apgsearch
Um I am not sure if this is correct, but apgoucher suggested to change includes/stabilise.h 's line 12 to the period you want some time ago, i think that might work.
- Majestas32
- Posts: 549
- Joined: November 20th, 2017, 12:22 pm
- Location: 'Merica
Re: Hacking apgsearch
I've managed to give myself a factor of 3+ increase in MoveroVIII searching speed. Now that that's complete, I'm turning to further improvements, specifically adding bespoke escaping glider detection to handle the c/6d glider of Justfriends and the Turro/Movero rulespace. I don't really have an idea where to start though.
Searching:
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
-
- Posts: 2200
- Joined: August 5th, 2016, 10:27 am
- Location: 拆哪!I repeat, CHINA! (a.k.a. 种花家)
- Contact:
Re: Hacking apgsearch
What is CatGel_Test? Some B2-a rules are apgsearching and uploading hauls to this symmetry, but there is nothing special about the 16×16 asymmetric soups.
熠熠种花 - Glimmering Garden
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
Harvest Moon
2-engine p45 gliderless HWSS gun
Small p2070 glider gun
Forgive me if I withhold my enthusiasm.
- Majestas32
- Posts: 549
- Joined: November 20th, 2017, 12:22 pm
- Location: 'Merica
Re: Hacking apgsearch
My test symmetry to ensure that my customized version of apgsearch optimized for these rules actually worked and produced a distribution of objects that would be expected from these rules.
Searching:
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
b2-a5k6n7cs12-i3ij4k5j8
b2-a3c7cs12-i
Currently looking for help searching these rules.
-
- Posts: 359
- Joined: January 24th, 2020, 7:39 am
- Location: 小红点 (if you know where that is)
Re: Hacking apgsearch
I made some modifications to this, mostly updating the apgsearch version and allowing the maximum population and minimum population to be set as command-line arguments. Hauls will also automatically be uploaded to <symmetry>_spaceinvaders to avoid mixing hauls with regular symmetries if the --maxpop or --maxgen arguments are set to avoid mixing hauls with regular symmetries, unless the symmetry is an stdin symmetry.Cyclotrons wrote: ↑September 7th, 2021, 4:01 pmSince I don't think wwei ever put it on the forums, I'll be posting a modified version of their spaceinvaders hacked apgsearch. It is for searching rules that can (but don't always) explode, and it does this by skipping soups when they exceed a certain generation number or a certain population.
To use it, unpack it into whatever directory you are going to use it in, then type chmod +x recompile.sh so that you have the required permissions to run it. From there, you can use it as you would use unmodified apgsearch. Note that population/generation checking is done for every search you do with this; it is not confined to a specific symmetry or argument.
If you wish to change what population/generation to skip a soup at, go to includes/paramsxp2.h and change the values there. Note that smaller values mean that a search goes faster, but also mean that growth patterns are less likely to be reported.
apgspaceinvaders.7z
The code can be found at https://github.com/jedlimlx/apgspaceinvaders.
Download CAViewer: https://github.com/jedlimlx/Cellular-Automaton-Viewer
Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...
Supports:
BSFKL, Extended Generations, Regenerating Generations, Naive Rules, R1 Moore, R2 Cross and R2 Von Neumann INT
And some others...