<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-X%3Assre005</id>
	<title>SE250:lab-X:ssre005 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kram.nz/index.php?action=history&amp;feed=atom&amp;title=SE250%3Alab-X%3Assre005"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-X:ssre005&amp;action=history"/>
	<updated>2026-06-04T21:31:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.kram.nz/index.php?title=SE250:lab-X:ssre005&amp;diff=9161&amp;oldid=prev</id>
		<title>Mark: 2 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-X:ssre005&amp;diff=9161&amp;oldid=prev"/>
		<updated>2008-11-03T05:20:49Z</updated>

		<summary type="html">&lt;p&gt;2 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;1. Calculation of no. of states in State Space Graph and estimate of number of edges:&lt;br /&gt;
&lt;br /&gt;
9! different possible states.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
No. of edges from each state depends on the location of the space in the puzzle.  If the Space is in the middle then 4 different legal moves are available and thus 4 edges will come from this state node.  If the Space is on either of the 4 squares adjacent to the centre square then 3 different edges will come from this state.  If the Space is on either of the 4 corners then 2 different edges will come from this state node.&lt;br /&gt;
&lt;br /&gt;
Thus since 9!/9 = 8! states have the empty space in the centre, (9!/9)*4 = 8!*4 states have a space in either of the 4 squares adjacent to the centre and (9!/9)*4 = 8!*4 states have a space in either of the 4 corners:&lt;br /&gt;
&lt;br /&gt;
The total number of edges in the State Space Graph should be:&lt;br /&gt;
&lt;br /&gt;
(8!)*4 + (8!*4)*3 + (8!*4)*2.&lt;br /&gt;
&lt;br /&gt;
Where the coefficients (*4, *3 and *2) account for the number of legal moves available for each of these states.&lt;br /&gt;
&lt;br /&gt;
This is however incorrect as it does not take into account &amp;quot;double edges&amp;quot; where legal moves exist both ways for two states and thus a &amp;quot;double edge&amp;quot; can be draw between the states rather than two individual edges as suggested by my answer.&lt;br /&gt;
&lt;br /&gt;
Mark suggested that the solution to this problem would be to divide my answer by 2.&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
&lt;br /&gt;
Looks way too tedious.  Might come back to this later.&lt;br /&gt;
&lt;br /&gt;
3.&lt;br /&gt;
&lt;br /&gt;
Drew my graph and included double edges.  Trying to figure out how to run the actual program.&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>