<?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%3Aapra102</id>
	<title>SE250:lab-X:apra102 - 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%3Aapra102"/>
	<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-X:apra102&amp;action=history"/>
	<updated>2026-06-17T18:33:03Z</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:apra102&amp;diff=8856&amp;oldid=prev</id>
		<title>Mark: 11 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.kram.nz/index.php?title=SE250:lab-X:apra102&amp;diff=8856&amp;oldid=prev"/>
		<updated>2008-11-03T05:20:43Z</updated>

		<summary type="html">&lt;p&gt;11 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Task 1==&lt;br /&gt;
ok as there are 9 blocks in the given puzzle there are 9! different states exists.&lt;br /&gt;
9*8*7*6*5*4*3*2*1 = 362880. Therefore there are 362880 possible different states.&lt;br /&gt;
In the next part: should calculate number of edges in the complete state space graph. By looking at the puzzle i figured out that if the blank is at the 4 edges of the puzzle then it has 2 possible moves,if it is in the middle of the line then it has 3 possible moves,&lt;br /&gt;
if it is in the middle of the whole puzzle then it has 4 possible moves. Hence the total moves it can move is (4*2)+(4*3)+(1*4) = 24.&lt;br /&gt;
If there are 362880 possible ways for 9edges,then how many possible ways there will be for 24 edges?&lt;br /&gt;
=&amp;gt; (362880*24)/9 = 967680. yay finally sorted out the task 1.&lt;br /&gt;
&lt;br /&gt;
==Task 2==&lt;br /&gt;
I looked at the code twice but still lost will have a look at it later. Skipping to task 3.&lt;br /&gt;
&lt;br /&gt;
==Task 3==&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;img src=&amp;quot;http://studwww.cs.auckland.ac.nz/~apra102/lab10/graph.html.jpg&amp;quot; width=&amp;quot;450&amp;quot; height=&amp;quot;500&amp;quot; alt=&amp;quot;task3&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mark</name></author>
	</entry>
</feed>