From c52550e8c58bc7de1795b78c5c855f46955bb065 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 20 Sep 2017 19:06:42 +0100 Subject: Add first draft of (latex) DOER document --- docs/DOER-document/main.tex | 104 ++++++++++++++++++++++++++++++++++++++ docs/DOER-document/references.bib | 23 +++++++++ 2 files changed, 127 insertions(+) create mode 100644 docs/DOER-document/main.tex create mode 100644 docs/DOER-document/references.bib (limited to 'docs') diff --git a/docs/DOER-document/main.tex b/docs/DOER-document/main.tex new file mode 100644 index 0000000..6220242 --- /dev/null +++ b/docs/DOER-document/main.tex @@ -0,0 +1,104 @@ +\documentclass{article} +\usepackage[utf8]{inputenc} +\usepackage[margin=1in]{geometry} +\usepackage{hyperref} +\usepackage[ + backend=biber, + style=alphabetic, + sorting=ynt +]{biblatex} +\addbibresource{references.bib} + +\title{Description, Objectives, Ethics, Resources} +\author{Matriculation Number: 150012297} +\date{September 2017} + +\begin{document} + +\maketitle + +\section{Description} + +\subsection{Title} + +\vspace{2mm} + +\emph{\large{A Solver for Solitaire Games of Perfect Information}} + +\subsection{Overview} + +The aim of this project is to create a single solver for a variety of +single-player, perfect information solitaire card games. The solver should be +able to correctly provide solutions for some instances of solitaire games, and +be able to report other instances as unsolvable, minimising the number of +instances that are deemed 'intractable' (cannot be classified as solvable or +unsolvable within a reasonable time period). A key study for this project will +be how to do this efficiently for a \emph{variety} of solitaire games. + +Perfect information games are an especially important domain in artificial +intelligence, and some of the most high-profile successes in the field of AI +have been creating good players for games like Chess, Checkers and Go, all of +which are perfect information games. However, relatively little work has been +done on creating programs to play single-player perfect information games, and +good solvers do not yet exist for most solitaire games. + +Hence, this project will focus on creating a solver which is general enough to +be able to play a wide range of solitaire games, whilst also maintaining a high +level of efficiency. This efficiency will be achieved through a combination of +language-level optimisation, and through exploring different AI search +techniques. A specialised solver will be written to accomplish this, in code +rather than using an existing constraint solving or planning programs. + +\section{Objectives} + +\subsection{Primary Objectives} + +\begin{enumerate} + \item An application for solving single-player, perfect information solitaire + instances (software artefact). + \item The application must be able to solve a \emph{wide} range of games. + \item The solver's classifications must be \emph{demonstrably} accurate, with + a reasonably low rate of intractable (cannot be classified as solvable or + unsolvable within a sensible time period) instances. + \item Some kind of schema or language for describing solitaire games. + \item An analysis of the effects of different search techniques and + implementation choices on the performance of the solver. + \item An implementation of `meta-moves'/`super moves'\cite{SolLab} for the + solver's search, for those games in which it is applicable. +\end{enumerate} + +\subsection{Secondary Objectives} + +\begin{enumerate} + \item Optimise the search algorithm to eliminate searching states in which + certain moves/states `dominate'\cite{WikDom} others. + \item Implement more than one different type of search (e.g. best first, + iterative deepening). + \item Design a general heuristic for best-first search that works across a + variety of games. +\end{enumerate} + +\subsection{Tertiary Objectives} + +Other tertiary objectives that satisfy the core aims of the project would be +reasonable additions. Below are two particular instances of interesting routes +down which this project could be taken: + +\begin{enumerate} + \item An extension of the algorithm that aims to provide shortened solutions + (i.e. ones that minimise the number of moves taken). + \item An implementation of Monte-Carlo tree search\cite{WikMCTS} to find + solutions. +\end{enumerate} + +\section{Ethics} + +There are no ethical considerations for this project. + +\section{Resources} + +This project can be completed using standard school equipment. + +\printbibliography + +\end{document} diff --git a/docs/DOER-document/references.bib b/docs/DOER-document/references.bib new file mode 100644 index 0000000..4d1c660 --- /dev/null +++ b/docs/DOER-document/references.bib @@ -0,0 +1,23 @@ +@online{SolLab, + author = "Michael Keller", + title = "FreeCell -- Frequently Asked Questions (FAQ)", + year = "2015", + url = "http://solitairelaboratory.com/fcfaq.html#Supermove", + urldate = "2017-09-20" +} + +@online{WikDom, + author = "Wikipedia", + title = "Stochastic dominance", + year = "2017", + url = "https://en.wikipedia.org/wiki/Stochastic_dominance", + urldate = "2017-09-20" +} + +@online{WikMCTS, + author = "Wikipedia", + title = "Monte Carlo tree search", + year = "2017", + url = "https://en.wikipedia.org/wiki/Monte_Carlo_tree_search", + urldate = "2017-09-20" +} \ No newline at end of file -- cgit v1.2.1 From 26e1b7b77caae58c2ad2edbdb47ee2cc9ba9ba6a Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 26 Sep 2017 10:38:57 +0100 Subject: Update for second draft of DOER document --- docs/DOER-document/main.tex | 59 ++++++++++++++++++++------------------- docs/DOER-document/references.bib | 7 ----- 2 files changed, 31 insertions(+), 35 deletions(-) (limited to 'docs') diff --git a/docs/DOER-document/main.tex b/docs/DOER-document/main.tex index 6220242..400c6b6 100644 --- a/docs/DOER-document/main.tex +++ b/docs/DOER-document/main.tex @@ -3,9 +3,9 @@ \usepackage[margin=1in]{geometry} \usepackage{hyperref} \usepackage[ - backend=biber, - style=alphabetic, - sorting=ynt +backend=biber, +style=alphabetic, +sorting=ynt ]{biblatex} \addbibresource{references.bib} @@ -27,13 +27,13 @@ \subsection{Overview} -The aim of this project is to create a single solver for a variety of -single-player, perfect information solitaire card games. The solver should be -able to correctly provide solutions for some instances of solitaire games, and -be able to report other instances as unsolvable, minimising the number of -instances that are deemed 'intractable' (cannot be classified as solvable or -unsolvable within a reasonable time period). A key study for this project will -be how to do this efficiently for a \emph{variety} of solitaire games. +The aim of this project is to create a solver for a variety of single-player, +perfect information solitaire card games. The solver should be able to +correctly provide solutions for some instances of solitaire games, and be able +to report other instances as unsolvable, minimising the number of instances +that are deemed `intractable' (cannot be classified as solvable or unsolvable +within a reasonable time period). A key study for this project will be how to +do this efficiently for a \emph{variety} of solitaire games. Perfect information games are an especially important domain in artificial intelligence, and some of the most high-profile successes in the field of AI @@ -55,27 +55,29 @@ rather than using an existing constraint solving or planning programs. \begin{enumerate} \item An application for solving single-player, perfect information solitaire - instances (software artefact). - \item The application must be able to solve a \emph{wide} range of games. - \item The solver's classifications must be \emph{demonstrably} accurate, with - a reasonably low rate of intractable (cannot be classified as solvable or - unsolvable within a sensible time period) instances. - \item Some kind of schema or language for describing solitaire games. - \item An analysis of the effects of different search techniques and - implementation choices on the performance of the solver. - \item An implementation of `meta-moves'/`super moves'\cite{SolLab} for the - solver's search, for those games in which it is applicable. +instances (software artefact). + \item Some kind of schema or language for describing a \emph{wide} range of +solitaire games. + \item The application must be able to solve valid games expressed using the +schema/language. + \item Automated testing to demonstrate the correctness of my classifications. + \item An implementation of search techniques such as `meta-moves'/`super +moves'\cite{SolLab} and eliminating symmetrical states. + \item An implementation of language-level/design optimisations to improve the +efficiency of my search. + \item An analysis in my report of the effects of the above search techniques +and implementation choices on the performance of the solver. \end{enumerate} \subsection{Secondary Objectives} \begin{enumerate} \item Optimise the search algorithm to eliminate searching states in which - certain moves/states `dominate'\cite{WikDom} others. - \item Implement more than one different type of search (e.g. best first, - iterative deepening). - \item Design a general heuristic for best-first search that works across a - variety of games. +certain moves/states `dominate'\cite{WikDom} others. + \item Implement and evaluate more than one different type of search (e.g. +best first, iterative deepening). + \item Experiment with and evaluate different designs for the general +heuristic for best-first search, that works across a variety of games. \end{enumerate} \subsection{Tertiary Objectives} @@ -86,9 +88,9 @@ down which this project could be taken: \begin{enumerate} \item An extension of the algorithm that aims to provide shortened solutions - (i.e. ones that minimise the number of moves taken). - \item An implementation of Monte-Carlo tree search\cite{WikMCTS} to find - solutions. +(i.e. ones that minimise the number of moves taken). + \item Calculating the solvability ratio for some the games my application can +solve. \end{enumerate} \section{Ethics} @@ -102,3 +104,4 @@ This project can be completed using standard school equipment. \printbibliography \end{document} + diff --git a/docs/DOER-document/references.bib b/docs/DOER-document/references.bib index 4d1c660..ae852d6 100644 --- a/docs/DOER-document/references.bib +++ b/docs/DOER-document/references.bib @@ -14,10 +14,3 @@ urldate = "2017-09-20" } -@online{WikMCTS, - author = "Wikipedia", - title = "Monte Carlo tree search", - year = "2017", - url = "https://en.wikipedia.org/wiki/Monte_Carlo_tree_search", - urldate = "2017-09-20" -} \ No newline at end of file -- cgit v1.2.1