Source

shlomi-fish-homepage / t2 / project_spec.html

<html>
    <head>
        <title>Freecell Solver - Project Specification</title>
    </head>
    <body>
        
        <h1>Freecell Solver - Project Specification</h1>

        <h2>Introduction</h2>
    
            <p>
        <a href="http://vipe.technion.ac.il/~shlomif/freecell-solver/">Freecell Solver</a> 
            is a feature-rich library and stand-alone command line program for solving
        games of Freecell, and similar Solitaire games. Freecell Solver is already
        mature software and is currently at version 2.8.0. The project in question
            will enhance it in several ways:
        </p>
    
        <h2>An Abstract Way to Determine the Order of the Derived States</h2>

        <p>
        In a Depth-First-Search Scan, each state gives way to several derived 
        states. Freecell Solver has various tests, each generating different
        states. These tests can be grouped together and then the tests generated
        by the entire group can be ordered.
        </p>

        <p>
        At the moment only a random ordering is supported. The project will create
        an abstract way to sequence the tests in a group with several supported
        back-ends.
        </p>

        <h2>Integrating Patsolve's State Ordering</h2>

        <p>
        Patsolve is a competing open-source Freecell Solver by Dr. Tom Holroyd.
        The project will incorporate Patsolve's test-ordering logic (which gives
        way to a very fast atomic-moves based ordering) into Freecell Solver
        based on the framework proposed in the aforementioned change.
        </p>

        <p>
        That way it would be possible to run several Patsolve scans on one state
        collection using the Freecell Solver framework.
        </p>

        <h2>Integrating Patsolve's Mixed DFS/BFS Scan</h2>

        <p>
        At the moment, Freecell Solver supports a DFS scan and a Best-First Search
        scan. The project will also add the Mixed 
        Depth-First-Search/Breadth-First-Search scan from Patsolve which
        gives near minimal solutions.
        </p>

        <h2>Thread Enabling</h2>

        <p>
        Freecell Solver as of now distinguishes between "Hard Threads" - so called
        system threads that operate on the same states collection. However, no
        locks are available to make sure they don't interfere with each other.
        </p>

        <p>
        Shlomi Fish, a Freecell Solver developer, has already proposed a model
        to thread enable Freecell Solver. This model will be implemented
        as part of the project.
        </p>

        <h2>Writing an Architecture Document</h2>

        <p>
        Freecell Solver has a relatively complex architecture with 20 modules
        but still has no up-to-date architecture document. One will be written
        as part of the project to aid external developers to take part in it
        should they desire to do so.
        </p>

        <h2>A Command Line Analysing Class</h2>

        <p>
        Due to the fact that Freecell Solver can read options from a file
        and can process presets, a new command line analysing mechanism is 
        needed. This will be implemented as part of the project and will
        sport nested doubly-linked lists for manipulating the arguments list.
        </p>
    </body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.