Developing WLS

For scripts to aid with computation or simulation in cellular automata.
Post Reply
David
Posts: 212
Joined: November 3rd, 2009, 2:47 am
Location: Daejeon, South Korea

Developing WLS

Post by David » October 7th, 2011, 8:45 pm

I think WLS should be upgraded. Please post here ideas or upgraded WLS.

My ideas are here.

1. More speed. Do you have any better algorithm?

2. Be searchable for any cellular automaton. Load ruletable to use.

Do you have other ideas?
Call me "Dannyu NDos" in Forum. Call me "Park Shinhwan"(박신환) in Wiki.

137ben
Posts: 343
Joined: June 18th, 2010, 8:18 pm

Re: Developing WLS

Post by 137ben » October 24th, 2011, 6:59 pm

David wrote:1. More speed. Do you have any better algorithm?
If we are writing a new searching algorithm, then we are basically writing an entire new search program :wink:


I'm more interested in a hexagonal version then in another square version.

David
Posts: 212
Joined: November 3rd, 2009, 2:47 am
Location: Daejeon, South Korea

Re: Developing WLS

Post by David » October 30th, 2011, 2:31 am

137ben wrote:
David wrote:1. More speed. Do you have any better algorithm?
If we are writing a new searching algorithm, then we are basically writing an entire new search program :wink:
I think so, too... Does WLS uses the best algorithm, currently?
Call me "Dannyu NDos" in Forum. Call me "Park Shinhwan"(박신환) in Wiki.

Jason Summers
Posts: 36
Joined: July 23rd, 2009, 8:08 pm

Re: Developing WLS

Post by Jason Summers » October 30th, 2011, 10:23 pm

David wrote:I think so, too... Does WLS uses the best algorithm, currently?
I'm not aware of any breakthroughs in this type of searching. Of course, there are many ways to optimize it. But fundamentally, it's all just brute force: try all possibilities, and eliminate the ones that lead to a contradiction.

If someone wants to work on WLS or a similar program, my wishlist of features for speeding it up would start with:

1. Hashing (like gfind/ofind), to prevent it from redoing the same search over and over after making an irrelevant change.

2. Multithreading. Run one search thread per processor core. I think this is possible. For example, if a thread has a choice of setting a cell OFF or ON, and another thread is idle, it assigns the OFF state (and the search tree associated with it) to that other thread.

David
Posts: 212
Joined: November 3rd, 2009, 2:47 am
Location: Daejeon, South Korea

Re: Developing WLS

Post by David » November 6th, 2011, 6:50 pm

A new idea:

Limit with population, instead of bounding box.
Call me "Dannyu NDos" in Forum. Call me "Park Shinhwan"(박신환) in Wiki.

Post Reply