Search found 6 matches

by hollowme
November 27th, 2024, 8:26 am
Forum: Scripts
Topic: Logic Life Search (LLS)
Replies: 305
Views: 283562

Re: Logic Life Search

Hey Macbi, thank you so much for your answer!! This makes a lot of sense. Let me ask you something real quick:

If my goal inputs always have a dead border, lets say:


0 0 0 0 0 0
0 0 1 1 0 0
0 0 0 1 1 0
0 0 0 0 0 0


for example and the predecessor can have live cells at the edges in order ...
by hollowme
November 27th, 2024, 7:05 am
Forum: Scripts
Topic: Logic Life Search (LLS)
Replies: 305
Views: 283562

Re: Logic Life Search

Hi! I'm trying to use LLS to find the minimal immediate predecessor with kissat as a solver but ran into a problem. For this input:

[EDIT] tested with lengeling and got the same result ...
by hollowme
November 19th, 2024, 7:30 pm
Forum: Help / Support
Topic: Thread for basic questions
Replies: 6092
Views: 2047380

Re: Thread for basic questions

I did! now, for better solutions we were cleared to use any existing solution, including SAT solvers and what not. It’s an AI class, hence the algorithms for exhaustive search, A* etc

Plus, I’m not really looking for a pre made solution, just a path to follow since I don’t really know where to go ...
by hollowme
November 19th, 2024, 6:46 pm
Forum: Help / Support
Topic: Thread for basic questions
Replies: 6092
Views: 2047380

Re: Thread for basic questions

I’ll check the links and lls, thanks for the help! Btw, I’ve seen it’s written in python, is there a similar one in C? I can only use C for this assignment
by hollowme
November 19th, 2024, 6:13 pm
Forum: Help / Support
Topic: Thread for basic questions
Replies: 6092
Views: 2047380

Re: Finding immediate and minimal ancestor to a board

Thanks! I’ll take a look. The problem I found with sat solvers, at least the way I used em, was that even though they find a valid board, there is no guarantee it’s a minimal one, so I ended up minimizing the whole search space still, which is exponential in the size of the input.

Basically I’m ...
by hollowme
November 19th, 2024, 5:11 pm
Forum: Help / Support
Topic: Thread for basic questions
Replies: 6092
Views: 2047380

Finding immediate and minimal ancestor to a board

I know conway's game of life is not reversible, but can any one state be found that generates a given board and has a min number of cells? Or at least close to min as possible?

Given a configuration like this:

`0 0 0 0 0 0`
`0 0 1 1 0 0`
`0 0 0 1 1 0`
`0 0 0 0 0 0`


A possible state that ...