<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aaron-kelley.net &#187; ActionScript</title>
	<atom:link href="http://aaron-kelley.net/blog/tag/actionscript/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron-kelley.net</link>
	<description>My little corner of the Internet</description>
	<lastBuildDate>Tue, 31 Jan 2012 01:57:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Floyd–Warshall Flash</title>
		<link>http://aaron-kelley.net/blog/2007/07/floyd%e2%80%93warshall-flash/</link>
		<comments>http://aaron-kelley.net/blog/2007/07/floyd%e2%80%93warshall-flash/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 15:27:49 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=117</guid>
		<description><![CDATA[I finished my first graduate course earlier this summer. Part of the course was this, to implement a graph algorithm in ActionScript. I chose the Floyd–Warshall algorithm and I thought I&#8217;d post what I came up with. Here are the files I have uploaded that you can try it with: test.xml &#8211; A simple graph [...]]]></description>
			<content:encoded><![CDATA[<p>I finished my first graduate course earlier this summer.  Part of the course was this, to implement a graph algorithm in <a href="http://en.wikipedia.org/wiki/ActionScript" target="_blank">ActionScript</a>.  I chose the <a href="http://en.wikipedia.org/wiki/Floyd%E2%80%93Warshall_algorithm" target="_blank">Floyd–Warshall algorithm</a> and I thought I&#8217;d post what I came up with.</p>
<p><span id="more-117"></span>Here are the files I have uploaded that you can try it with:</p>
<ul>
<li><strong>test.xml</strong> &#8211; A simple graph where each node is connected to the following node.</li>
<li><strong>test-d.xml</strong> &#8211; Same as the previous one, but this one is directed.</li>
<li><strong>shorter.xml</strong> &#8211; Also simple, with each node connected to the next.  Because of the weights, it is shorter to go the &#8220;long way&#8221; to get from n1 to n5, and you can watch the algorithm find this shorter path.</li>
<li><strong>negative.xml</strong> &#8211; Graph with a negative cycle.</li>
</ul>
<p>Click <a href="/wp-content/uploads/2009/07/FW.swf" target="_blank">here</a> to run it in the full browser window.  Or you can right-click that link to save it and provide it with your own <a href="http://graphml.graphdrawing.org/" target="_blank">GraphML</a> files.</p>
<p>I&#8217;ve removed the voice-over from this presentation.  The click sound-effect is still present if you click the full-screen link above.</p>
<p><a href="/wp-content/uploads/2009/07/FW-readme.txt" target="_blank">Here&#8217;s the readme.</a></p>
<p>And here it is!</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="600" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="/wp-content/uploads/2009/07/FW.swf" /><embed type="application/x-shockwave-flash" width="800" height="600" src="/wp-content/uploads/2009/07/FW.swf"></embed></object></p>
<p>I can say with absolute certainty that ActionScript is <em>not</em> my favorite language to program in.  But, I&#8217;ll write more on the ActionScript programming experience later.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2007/07/floyd%e2%80%93warshall-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

