Multi Period Photon Searcher
Posted: September 26th, 2024, 2:08 pm
Multi-period photon searcher is a search program which can be used to find photons with large (or small, but its less suited for them) periods. It can be set up to search for a specific period or it can be set up to search all periods less than a maximum period. Interestingly, the time taken to search should only be linear in max period!
Edit by Sokwe: The latest version of MPPS is available here.
The main idea used here is similar to that of photonsrc (viewtopic.php?f=9&t=4649), but I came up with most of the ideas used in this program independently.
The program is not very user friendly for now, and you'll have to set some variables like max period & width in the source code itself. Some parameters like forbidden periods and the rulespace can be specified as command line arguments.
You can compile this program on linux using the command
and run it using (example search in B27(8)/S24(8) with forbidden periods 4 and 6)
Certain parameters need to be set directly in the part of the code where it says 'SET PARAMETERS HERE'.
The program can also search entire rulespaces rule by rule, which can be specified by setting the minrule and maxrule appropriately.
You can also set forbidden periods, which are extremely useful for certain searches. In many rules, like seeds, the program tends to get overwhelmed by p4 and p8 partials. To avoid this, you can add 4 to the list of forbidden partials given in the command and this will it skip all period 4,8,12,16,.. partials. This makes many searches much faster and helps find more interesting results.
You can also use this feature to search for ship with a specific period. For example, to perform a p14 search, you can use 'f 3 4 5 11 13' as the list of forbidden periods and set max_period to 14.
This program is still pretty unpolished and there are quite a few changes i'd like to make, including making it much more convenient to use. If any of you have any queries or suggestions on the program or if there are any bugs, I will be responding to messages here or on discord.
Edit by Sokwe: The latest version of MPPS is available here.
The main idea used here is similar to that of photonsrc (viewtopic.php?f=9&t=4649), but I came up with most of the ideas used in this program independently.
The program is not very user friendly for now, and you'll have to set some variables like max period & width in the source code itself. Some parameters like forbidden periods and the rulespace can be specified as command line arguments.
You can compile this program on linux using the command
Code: Select all
g++ multi_period_photon_searcherv0.1.cpp -O3 -march=native -Wall -Wextra -o mpps Code: Select all
./mpps B27/S24 B278/S248 f 4 6 The program can also search entire rulespaces rule by rule, which can be specified by setting the minrule and maxrule appropriately.
You can also set forbidden periods, which are extremely useful for certain searches. In many rules, like seeds, the program tends to get overwhelmed by p4 and p8 partials. To avoid this, you can add 4 to the list of forbidden partials given in the command and this will it skip all period 4,8,12,16,.. partials. This makes many searches much faster and helps find more interesting results.
You can also use this feature to search for ship with a specific period. For example, to perform a p14 search, you can use 'f 3 4 5 11 13' as the list of forbidden periods and set max_period to 14.
This program is still pretty unpolished and there are quite a few changes i'd like to make, including making it much more convenient to use. If any of you have any queries or suggestions on the program or if there are any bugs, I will be responding to messages here or on discord.