<feed xmlns='http://www.w3.org/2005/Atom'>
<title>metasol/debug.h, branch trh/multirun</title>
<subtitle>General Solitaire solver that avoids using hidden information</subtitle>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/4th-year-coursework/metasol/'/>
<entry>
<title>Split Solvitaire k+ moves into stock moves</title>
<updated>2019-02-17T00:16:12+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2019-02-17T00:16:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/4th-year-coursework/metasol/commit/?id=5fb3cdc6faee083ceb43dee168b440c92ba951ad'/>
<id>5fb3cdc6faee083ceb43dee168b440c92ba951ad</id>
<content type='text'>
In Solvitaire, going through the stock in stock-waste games is bundled
with the move out of the waste, in what's called a k-plus move. This
makes sense in Solvitaire, but in this system having each stock move be
explicit helps because it itemises all moves similarly, making shaving
off single moves easy.

The `calculate_stock_moves` function uses a simulation rather than a
simple calculation, which has a couple of downsides:
1. it's slower than a calculation;
2. it loops infinitely when given an index that's impossible to reach.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Solvitaire, going through the stock in stock-waste games is bundled
with the move out of the waste, in what's called a k-plus move. This
makes sense in Solvitaire, but in this system having each stock move be
explicit helps because it itemises all moves similarly, making shaving
off single moves easy.

The `calculate_stock_moves` function uses a simulation rather than a
simple calculation, which has a couple of downsides:
1. it's slower than a calculation;
2. it loops infinitely when given an index that's impossible to reach.
</pre>
</div>
</content>
</entry>
</feed>
