ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

JavaLifeSearch

For scripts to aid with computation or simulation in cellular automata.

Re: JavaLifeSearch

Postby A for awesome » December 30th, 2017, 5:18 pm

The manual appears to mention the existence of "frozen unchecked" cells, which I should be able to create with X + I, but when I try that on my copy, nothing happens when I press "I". Is the problem with my copy of JLS, the manual, or my own misunderstanding?
x₁=ηx
V ⃰_η=c²√(Λη)
K=(Λu²)/2
Pₐ=1−1/(∫^∞_t₀(p(t)ˡ⁽ᵗ⁾)dt)

$$x_1=\eta x$$
$$V^*_\eta=c^2\sqrt{\Lambda\eta}$$
$$K=\frac{\Lambda u^2}2$$
$$P_a=1-\frac1{\int^\infty_{t_0}p(t)^{l(t)}dt}$$

http://conwaylife.com/wiki/A_for_all

Aidan F. Pierce
User avatar
A for awesome
 
Posts: 1658
Joined: September 13th, 2014, 5:36 pm
Location: 0x-1

Re: JavaLifeSearch

Postby wildmyron » January 4th, 2018, 4:39 am

In case you hadn't figured it out yet, this seems to be an error in the documentation. 'i' and 'I' clear all unchecked cells in the selection, and 'o' and 'O' set all unset cells to unchecked. The frozen / unfrozen state is retained with 'i' and 'o' as indicated in the manual - you just need the opposite operation. As usual, 'Shift' applies the operation to all generations.
wildmyron
 
Posts: 862
Joined: August 9th, 2013, 12:45 am

Re: JavaLifeSearch

Postby Sarp » October 5th, 2018, 5:07 pm

It seems like the web page is broken, are there any alternative links?
WADUFI
Sarp
 
Posts: 73
Joined: March 1st, 2015, 1:28 pm

Re: JavaLifeSearch

Postby Apple Bottom » October 5th, 2018, 5:12 pm

Sarp wrote:It seems like the web page is broken, are there any alternative links?


Here's a ZIP file containing a saved copy of the JAR file for 1.7 and the accompanying manual:

JLS-1.7.zip
JLS 1.7 binary and manual
(623.99 KiB) Downloaded 44 times
If you speak, your speech must be better than your silence would have been. — Arabian proverb

Catagolue: Apple Bottom • Life Wiki: Apple Bottom • Twitter: @_AppleBottom_

Proud member of the Pattern Raiders!
User avatar
Apple Bottom
 
Posts: 978
Joined: July 27th, 2015, 2:06 pm

Re: JavaLifeSearch

Postby Sokwe » October 5th, 2018, 5:30 pm

Apple Bottom wrote:Here's a ZIP file containing a saved copy of the JAR file for 1.7 and the accompanying manual

Thanks. I've updated the original post to link to your post.
-Matthias Merzenich
Sokwe
Moderator
 
Posts: 1322
Joined: July 9th, 2009, 2:44 pm

Re: JavaLifeSearch

Postby Entity Valkyrie » November 8th, 2018, 11:33 pm

How do I use JavaLifeSearch to find a suitable p3 reflector for this?

x = 29, y = 25, rule = B3/S23
18bobo$19b2o$19bo6$o$3o$3bo$2b2o11b2o11bo$15b2o9b3o$6b3o17bobo$4b2o20b
o$4b2obob2o$4b4o2bo$5bo4bo$6b4o$6b2o2$27b2o$28bo$25b3o$25bo!


EDIT: This is p51.
User avatar
Entity Valkyrie
 
Posts: 144
Joined: November 30th, 2017, 3:30 am

Re: JavaLifeSearch

Postby wildmyron » November 9th, 2018, 2:02 am

Entity Valkyrie wrote:How do I use JavaLifeSearch to find a suitable p3 reflector for this?

x = 29, y = 25, rule = B3/S23
18bobo$19b2o$19bo6$o$3o$3bo$2b2o11b2o11bo$15b2o9b3o$6b3o17bobo$4b2o20b
o$4b2obob2o$4b4o2bo$5bo4bo$6b4o$6b2o2$27b2o$28bo$25b3o$25bo!


EDIT: This is p51.

I'm not sure this problem is at a stage where JLS can be used to find a solution, but it depends very much on what you are trying to reflect, the timing of that reflection and where it needs to go. If I understand what you are trying to do correctly, then you want to use the p3 reflector to shuttle the glider which knocks out the FNG of the eastern herschel allowing the R-> H progression to work. What you need to do first is work out the timing and output lane of the reflector that's required, and then survey all the known p3 reflectors to see if there's anything that matches. If you find something but it doesn't fit, then you can use JLS to find an oscillator which uses the same mechanism and also fits in the space that is available. If there's nothing that matches then it is going to be very hard to find something starting with just JLS.

If you do want to tackle this problem then the way to do it would be to set up JLS with a period of 51 gen, and manually set the as much of the pattern as possible until you have the input and output gliders defined throughout the interaction. In this case you may need to work forwards from Gen 0 and backwards from the last gen to work out where and when the interaction will take place. In the middle you'll need to leave a number of cells unconstrained (which is where the interaction will take place) and then border that region with cells constrained to be p3. To start with there should be a thin border of p3 cells surrounded by a larger area of Unchecked p3 cells. I tackle these problems by starting with as small an area as possible for the interaction and gradually increase that area when no results are found. You'll see that there are errors where signals (including gliders) come into and go out of the conduits. These errors can be resolved with Unset cells in the last generation.

You can save a lot of time in setting up these searches by pasting in a pattern from Golly into JLS, manually setting the unknown areas throughout the evolution and letting it work out the subsequent generations everywhere else. I've attached a JLS file which sets up this kind of search from an adapted version of the pattern on the Gun Discussion thread (with alternate p3 sparker) combined with the pattern here. With the current setup the search finds 0 solutions after about 3 minutes. Note the Sort order used (in particular "Process all cells in a generation first") and the use of "Use combinations of solutions to prune search" in the Search Options. The later option has no effect on this search as it's set up, but as you expand the search it's a very useful option.

I suspect that even if you manage to find a solution to this problem it's going to be very difficult to make it fit with all the other circuitry you require, for example, there's no way it can coexist with the 2G -> H you used in the pattern from the Gun Discussion thread.

Good Luck
Attachments
B3S23-p3_reflector_for_p51_conduit.zip
Sample JLS setup for p3 reflector
(17.92 KiB) Downloaded 7 times
wildmyron
 
Posts: 862
Joined: August 9th, 2013, 12:45 am

Re: JavaLifeSearch

Postby Entity Valkyrie » November 10th, 2018, 6:27 pm

wildmyron wrote:
Entity Valkyrie wrote:How do I use JavaLifeSearch to find a suitable p3 reflector for this?

x = 29, y = 25, rule = B3/S23
18bobo$19b2o$19bo6$o$3o$3bo$2b2o11b2o11bo$15b2o9b3o$6b3o17bobo$4b2o20b
o$4b2obob2o$4b4o2bo$5bo4bo$6b4o$6b2o2$27b2o$28bo$25b3o$25bo!


EDIT: This is p51.

I'm not sure this problem is at a stage where JLS can be used to find a solution, but it depends very much on what you are trying to reflect, the timing of that reflection and where it needs to go. If I understand what you are trying to do correctly, then you want to use the p3 reflector to shuttle the glider which knocks out the FNG of the eastern herschel allowing the R-> H progression to work. What you need to do first is work out the timing and output lane of the reflector that's required, and then survey all the known p3 reflectors to see if there's anything that matches. If you find something but it doesn't fit, then you can use JLS to find an oscillator which uses the same mechanism and also fits in the space that is available. If there's nothing that matches then it is going to be very hard to find something starting with just JLS.

If you do want to tackle this problem then the way to do it would be to set up JLS with a period of 51 gen, and manually set the as much of the pattern as possible until you have the input and output gliders defined throughout the interaction. In this case you may need to work forwards from Gen 0 and backwards from the last gen to work out where and when the interaction will take place. In the middle you'll need to leave a number of cells unconstrained (which is where the interaction will take place) and then border that region with cells constrained to be p3. To start with there should be a thin border of p3 cells surrounded by a larger area of Unchecked p3 cells. I tackle these problems by starting with as small an area as possible for the interaction and gradually increase that area when no results are found. You'll see that there are errors where signals (including gliders) come into and go out of the conduits. These errors can be resolved with Unset cells in the last generation.

You can save a lot of time in setting up these searches by pasting in a pattern from Golly into JLS, manually setting the unknown areas throughout the evolution and letting it work out the subsequent generations everywhere else. I've attached a JLS file which sets up this kind of search from an adapted version of the pattern on the Gun Discussion thread (with alternate p3 sparker) combined with the pattern here. With the current setup the search finds 0 solutions after about 3 minutes. Note the Sort order used (in particular "Process all cells in a generation first") and the use of "Use combinations of solutions to prune search" in the Search Options. The later option has no effect on this search as it's set up, but as you expand the search it's a very useful option.

I suspect that even if you manage to find a solution to this problem it's going to be very difficult to make it fit with all the other circuitry you require, for example, there's no way it can coexist with the 2G -> H you used in the pattern from the Gun Discussion thread.

Good Luck


Thanks for the file. I didn't know how to set up JavaLifeSearch until now.
User avatar
Entity Valkyrie
 
Posts: 144
Joined: November 30th, 2017, 3:30 am

Re: JavaLifeSearch

Postby 77topaz » November 12th, 2018, 2:41 am

Could you please not quote entire page-long posts just to add a single line of response to the bottom?
User avatar
77topaz
 
Posts: 859
Joined: January 12th, 2018, 9:19 pm

Previous

Return to Scripts

Who is online

Users browsing this forum: No registered users and 1 guest