<?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>nightdrops.com &#187; asframework</title>
	<atom:link href="http://www.nightdrops.com/tag/asframework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nightdrops.com</link>
	<description>like the color blue</description>
	<lastBuildDate>Thu, 01 Jul 2010 13:19:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Graph examples</title>
		<link>http://www.nightdrops.com/2009/graph-examples/</link>
		<comments>http://www.nightdrops.com/2009/graph-examples/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 16:30:45 +0000</pubDate>
		<dc:creator>kajyr</dc:creator>
				<category><![CDATA[Blog posts]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[asframework]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[just for fun]]></category>

		<guid isPermaLink="false">http://www.nightdrops.com/?p=222</guid>
		<description><![CDATA[I&#8217;ve always been fascinated by networks, and everything that can be modeled as a graph. In some spare time one I&#8217;ve tried to model a simple graph structure in actionscript 3 that can be implemented to render some nice example. I want to extend it by adding some graph algorhythm like Breadth-first search, Depth-first seach, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always been fascinated by networks, and everything that can be modeled as a graph. In some spare time one I&#8217;ve tried to model a simple graph structure in actionscript 3 that can be implemented to render some nice example. I want to extend it by adding some graph algorhythm like <a href="http://en.wikipedia.org/wiki/Breadth-first_search" target="_blank">Breadth-first search</a>, <a href="http://en.wikipedia.org/wiki/Depth-first_search">Depth-first seach</a>, <a href="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm">Dijkstra</a> and others, just to keep mind busy in the summer, since in 3 days from now i&#8217;ll be officially unemployed.</p>
<p>So the first example consists in a bunch of nodes connected.. uhhu! Nodes can be activated, and each time this happens to a node, there is a chance that he activates his neighbours.</p>
<p><object style="width: 400px; height: 300px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="/wp-content/uploads/2009/07/example.swf" /><embed style="width: 400px; height: 300px;" type="application/x-shockwave-flash" width="400" height="300" src="/wp-content/uploads/2009/07/example.swf" wmode="transparent"></embed></object></p>
<p>If you want to see the code, there are two steps: I&#8217;ve stored the code that models the network (the Graph class and the INode interface) in a simple framework of mine that you can checkout from <a href="http://code.google.com/p/asframework/source/checkout" target="_blank">here</a>; then you can download the project as a zip file from <a href="http://www.nightdrops.com/wp-content/uploads/2009/07/Network1.zip">this link</a>)</p>
<p>As a references, you should see Levitated examples on networks, starting by <a href="http://www.levitated.net/daily/levBinaryNetworkv1.html">this one</a> or  <a href="http://www.levitated.net/daily/levBinaryNetworkv6.html">by this one</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nightdrops.com/2009/graph-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
