<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>pwning Apps</title>
	<atom:link href="http://calvinball.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://calvinball.wordpress.com</link>
	<description>Building mobile and web apps</description>
	<lastBuildDate>Sat, 04 Oct 2008 07:22:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='calvinball.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>pwning Apps</title>
		<link>http://calvinball.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://calvinball.wordpress.com/osd.xml" title="pwning Apps" />
	<atom:link rel='hub' href='http://calvinball.wordpress.com/?pushpress=hub'/>
		<item>
		<title>rebranding my blog</title>
		<link>http://calvinball.wordpress.com/2008/10/04/rebranding-my-blog/</link>
		<comments>http://calvinball.wordpress.com/2008/10/04/rebranding-my-blog/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 06:40:20 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=21</guid>
		<description><![CDATA[Okay folks I&#8217;m commandeering this blog to be a blog about me, myself, and myself from being a blog about my summer research at Allegheny. I&#8217;ve been motivated partly by my moving to Cambridge (an awesome place to live in) and partly by my school friend having his own blog at http://thereluctantrebel.blogspot.com . I figured [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=21&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Okay folks I&#8217;m commandeering this blog to be a blog about me, myself, and myself from being a blog about my summer research at Allegheny. I&#8217;ve been motivated partly by my moving to Cambridge (an awesome place to live in) and partly by my school friend having his own blog at <a href="http://thereluctantrebel.blogspot.com/">http://thereluctantrebel.blogspot.com</a> . I figured maybe the world does have a place for gratuitous opinions and characterizations.</p>
<p>So I live in Cambridge about two blocks from Inman Square. My apartment is about 10 minutes walk from both Harvard and MIT. As a self-confirmed geek I&#8217;m kind of excited about that &#8211; even though I don&#8217;t have a snowballs chance in hell getting in either of those places. Here&#8217;s <a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=Springfield+St,+Cambridge,+MA+02139&amp;sll=42.376934,-71.098537&amp;sspn=0.012808,0.038624&amp;ie=UTF8&amp;ll=42.37443,-71.104245&amp;spn=0.027139,0.109863&amp;z=14">Inman Square</a>. I live right on Cambridge St.</p>
<p>It&#8217;s 2:50 AM and I&#8217;ll be out all day tomorrow so I&#8217;ll post later.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=21&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/10/04/rebranding-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>Automated System</title>
		<link>http://calvinball.wordpress.com/2008/06/15/automated-system/</link>
		<comments>http://calvinball.wordpress.com/2008/06/15/automated-system/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 16:57:04 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=15</guid>
		<description><![CDATA[We finished coding up the automated system by 3:00, on June 13th. Prof Kapfhammer wanted to see how the BruteForce Avg and the Random Avg measured up against our solutions. Coding this up took me till 1:00 the next morning because I was so tired. Anyways, running so many trials, the results are pretty promising.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=15&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We finished coding up the automated system by 3:00, on June 13th. Prof Kapfhammer wanted to see how the BruteForce Avg and the Random Avg measured up against our solutions. Coding this up took me till 1:00 the next morning because I was so tired.</p>
<p>Anyways, running so many trials, the results are pretty promising.
<a href='http://calvinball.wordpress.com/2008/06/15/automated-system/n5_cost/' title='n5_cost'><img width="150" height="120" src="http://calvinball.files.wordpress.com/2008/06/n5_cost.png?w=150&#038;h=120" class="attachment-thumbnail" alt="The cost v/s method for 5 test cases" title="n5_cost" /></a>
<a href='http://calvinball.wordpress.com/2008/06/15/automated-system/n6_cost/' title='n6_cost'><img width="150" height="120" src="http://calvinball.files.wordpress.com/2008/06/n6_cost.png?w=150&#038;h=120" class="attachment-thumbnail" alt="The Cost v/s Method graph for 6 test cases." title="n6_cost" /></a>
</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=15&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/15/automated-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>

		<media:content url="http://calvinball.files.wordpress.com/2008/06/n5_cost.png?w=150" medium="image">
			<media:title type="html">n5_cost</media:title>
		</media:content>

		<media:content url="http://calvinball.files.wordpress.com/2008/06/n6_cost.png?w=150" medium="image">
			<media:title type="html">n6_cost</media:title>
		</media:content>
	</item>
		<item>
		<title>Usefulness of the TSP</title>
		<link>http://calvinball.wordpress.com/2008/06/11/usefulness-of-the-tsp/</link>
		<comments>http://calvinball.wordpress.com/2008/06/11/usefulness-of-the-tsp/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 04:42:13 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=12</guid>
		<description><![CDATA[Today, we saw some really encouraging results for our experiments. Our permutations ranked within top 10% of all 720 permutations with 6 test cases, and in the top 2% percent with 7 test cases. This got us thinking can the TSP approach be used for other purposes in test-suite prioritization?Can we optimize the time of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=12&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, we saw some really encouraging results for our experiments. Our permutations ranked within top 10% of all 720 permutations with 6 test cases, and in the top 2% percent with 7 test cases. This got us thinking can the TSP approach be used for other purposes in test-suite prioritization?Can we optimize the time of test cases using a TSP? Can we use the TSP to reduce the Test Suite? We will look at these interesting issues over the next couple of days.</p>
<p>Right now I am also considering coding up an automated system which creates 100 datasets, runs the R algorithms to produce 100 solutions, and use the Scheduler to test the 100 solutions and measure their rankings. This would beat manually doing the steps and waiting for the results. Coding this up might is probably going to be pretty hard work, but it would be easy to test various cost-formulation metrics we keep coming up with.</p>
<p>We probably have to create, within the next few days, the data.frame for collecting data, and the memory level v/s time graph too. This should be pretty cool. We think it should be fairly easy too. Let&#8217;s see.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=12&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/11/usefulness-of-the-tsp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>The R Conundrum</title>
		<link>http://calvinball.wordpress.com/2008/06/11/the-r-conundrum/</link>
		<comments>http://calvinball.wordpress.com/2008/06/11/the-r-conundrum/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 04:25:27 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=10</guid>
		<description><![CDATA[Running the same TSP algorithm on the same data-set gave me different results every other time. How could this be? After talking with Dr Kapfhammer I realized it could be the TSP algorithm is randomly choosing a place to start and this randomness could be affecting results. Dr Kapfhammer pointed out if we set a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=10&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Running the same TSP algorithm on the same data-set gave me different results every other time. How could this be? After talking with Dr Kapfhammer I realized it could be the TSP algorithm is randomly choosing a place to start and this randomness could be affecting results. Dr Kapfhammer pointed out if we set a fixed seed in R&#8217;s random generator we might be able to eliminate the randomness. We hoped the TSP algorithms weren&#8217;t using their own random generator. We did set the seed and it worked! The TSP algorithms produced the same reproducible results again and again.</p>
<p>It took me a little bit more time to figure out that adding a constant to a TSP cost matrix doesn&#8217;t affect the results. The tour-length obviously varies, but each TSP algorithm produces the same permutation over and over again. This result is surprising for by adding a flat constant we are we modifying the ratio of the costs between cities. However, it doesn&#8217;t seem to matter.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=10&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/11/the-r-conundrum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>Test Suite Prioritization: Background</title>
		<link>http://calvinball.wordpress.com/2008/06/11/test-suite-prioritization-background/</link>
		<comments>http://calvinball.wordpress.com/2008/06/11/test-suite-prioritization-background/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 03:17:03 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=9</guid>
		<description><![CDATA[Test-suite Prioritization is a important research area in Software Testing. Software makers after they have written a piece of software, write test-cases which test various aspects of the software they created. They bundle these test cases into a test-suite. Then they take a couple of days off from work, because test-suites take a long time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=9&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Test-suite Prioritization is a important research area in Software Testing. Software makers after they have written a piece of software, write test-cases which test various aspects of the software they created. They bundle these test cases into a test-suite. Then they take a couple of days off from work, because test-suites take a long time to run. Prioritization looks at the best possible way to order these test-cases inside a test-suite so that it doesn&#8217;t take so much time to get the required results.</p>
<p>Research, in test-suite prioritization, is about finding the &#8220;best&#8221; permutation of the test suite to run. Running the n! permutations of the test suite, to find the best permutation, defeats the whole purpose of saving time. Rather, given all information about a test-suite, researchers should be able to give the software-testers one permutation of the test-suite. The ideal solution which gives the software-tester maximum benefit for his time. This isn&#8217;t as easy as it sounds. For even with all information about a test-suite simulating n! possibilities is prohibitively expensive. Prioritizing a Test Suite with 100 test-cases, in this manner, would make us look at 9.33262154 x 10^157<span style="font-size:xx-small;"> or</span> 9 googol and 3.32 octodecillion possible permutations which is impossible. And real-world Test Suites usually have 1000 or more test-cases!</p>
<p>Research Scientists have developed various metrics and techniques to solve this problem. The metrics are what the researchers think is a reasonable quantity to optimize. This can be average no of faults detected per sec, requirements covered per sec, or any other sophisticated metric. The techniques are strategies to find permutations that optimize the relevant metric.  The metrics and strategies research scientists employ belong in a more detailed post, and hopefully I can do that. But I hope you have gleaned from my post what test-suite prioritization is essentially about.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=9&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/11/test-suite-prioritization-background/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>A Cost Formulation for the TSP</title>
		<link>http://calvinball.wordpress.com/2008/06/09/a-cost-formulation-for-the-tsp/</link>
		<comments>http://calvinball.wordpress.com/2008/06/09/a-cost-formulation-for-the-tsp/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 22:29:31 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=8</guid>
		<description><![CDATA[Does it matter if a positive constant is added to all the values in a TSP cost matrix? It shouldn&#8217;t affect the result say some. I tried to check up on that matter today but was thwarted by R and TSP algorithms which switched between 2-3 different orderings for the same matrix. More on this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=8&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Does it matter if a positive constant is added to all the values in a TSP cost matrix? It shouldn&#8217;t affect the result say some. I tried to check up on that matter today but was thwarted by R and TSP algorithms which switched between 2-3 different orderings for the <span style="text-decoration:underline;">same</span> matrix. More on this issue later.</p>
<p>Writing the scheduler and seeing it work visually has given me a few ideas on how to formulate a cost metric. By seeing how Loads and Unloads are executed in real-time has given my back-calculating mind some more leads. Here are some observations:<br />
1. The Memory Constraint is reached fairly quickly in these synthetic test cases.<br />
2. Unloads are almost inevitable for every Test Case after the Memory Constraint is reached.<br />
3. The methods unloaded usually didn&#8217;t belong the last Test Case</p>
<p>This has us thinking if there is a meaningful way to calculate a &#8220;cost&#8221; between 2 test cases? I shall be working on that issue in the next few days.</p>
<p>I also want to write a background article for my research so it should be more approachable. Soon&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=8&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/09/a-cost-formulation-for-the-tsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting R</title>
		<link>http://calvinball.wordpress.com/2008/06/08/starting-r/</link>
		<comments>http://calvinball.wordpress.com/2008/06/08/starting-r/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 06:15:58 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=7</guid>
		<description><![CDATA[This is a note to myself so I can easily remember the syntax for doing stuff in R. &#62; sink(&#8220;record.lis&#8221;) &#62;rm(x, y, z, ink, junk, temp, foo, bar) &#62; x &#60;- c(10.4, 5.6, 3.1, 6.4, 21.7) &#62;c(10.4, 5.6, 3.1, 6.4, 21.7) -&#62; x &#62; y &#60;- c(x,0,x) # Note y has 11 elements &#62; v [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=7&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a note to myself so I can easily remember the syntax for doing stuff in R.</p>
<p>&gt; sink(&#8220;record.lis&#8221;)<br />
&gt;rm(x, y, z, ink, junk, temp, foo, bar)<br />
&gt; x &lt;- c(10.4, 5.6, 3.1, 6.4, 21.7)<br />
&gt;c(10.4, 5.6, 3.1, 6.4, 21.7) -&gt; x</p>
<p>&gt; y &lt;- c(x,0,x) # Note y has 11 elements<br />
&gt; v &lt;- 2*x + y + 1<br />
generates a new vector v of length 11 constructed by adding together, element by element, 2*x<br />
repeated 2.2 times, y repeated just once, and 1 repeated 11 times.</p>
<p>max(x) and min(x) select the largest and smallest elements of a vector respectively.<br />
range(x) gives a vector of length two, namely c(min(x),max(x)).<br />
length(x) is the number of elements in x,<br />
sum(x) gives the total of the elements in x,<br />
and prod(x) their product.<br />
mean(x) which calculates the sample mean, which is just sum(x)/length(x)<br />
and var(x) which gives sum((x-mean(x))^2)/(length(x)-1)<br />
sort(x) returns a vector of the same size as x with the elements arranged in increasing order;<br />
pmax(x,y,z) and pmin return a vector (of length equal to their longest argument) that contains in each element the largest (smallest) element in that position in any of the input vectors.</p>
<p>&gt; seq(-5, 5, by=.2) -&gt; s3 generates in s3 the vector c(-5.0, -4.8, -4.6, &#8230;, 4.6, 4.8, 5.0).<br />
&gt; s4 &lt;- seq(length=51, from=-5, by=.2) generates the same vector in s4.</p>
<p>&gt; s5 &lt;- rep(x, times=5) which will put five copies of x end-to-end in s5.<br />
&gt; s6 &lt;- rep(x, each=5)</p>
<p>Logical vectors are generated by conditions. For example<br />
&gt; temp &lt;- x &gt; 13<br />
sets temp as a vector of the same length as x with values FALSE corresponding to elements of x<br />
where the condition is not met and TRUE where it is.</p>
<p>&gt; z &lt;- c(1:3,NA); ind &lt;- is.na(z)<br />
In summary, is.na(xx) is TRUE both for NA and NaN values. To differentiate these,<br />
is.nan(xx) is only TRUE for NaNs.</p>
<p>CHARACTER VECTORS and the PASTE function<br />
&gt; labs &lt;- paste(c(&#8220;X&#8221;,&#8221;Y&#8221;), 1:10, sep=&#8221;")<br />
makes labs into the character vector<br />
c(&#8220;X1&#8243;, &#8220;Y2&#8243;, &#8220;X3&#8243;, &#8220;Y4&#8243;, &#8220;X5&#8243;, &#8220;Y6&#8243;, &#8220;X7&#8243;, &#8220;Y8&#8243;, &#8220;X9&#8243;, &#8220;Y10&#8243;)<br />
Note particularly that recycling of short lists takes place here too; thus c(&#8220;X&#8221;, &#8220;Y&#8221;) is<br />
repeated 5 times to match the sequence 1:10.</p>
<p>(INDEX VECTORS) p 16</p>
<p>Vectors must have their values all of the same mode. Thus any given vector must be unambiguously<br />
either logical, numeric, complex, character or raw.</p>
<p><span style="text-decoration:underline;">Reading Data from Files<br />
</span><br />
&gt; HousePrice &lt;- read.table(&#8220;houses.data&#8221;, header=TRUE)<br />
where the header=TRUE option specifies that the first line is a line of headings,</p>
<p>Editing Data<br />
&gt; xnew &lt;- edit(xold)<br />
fix(xold), which is equivalent to xold &lt;- edit(xold)<br />
&gt; xnew &lt;- edit(data.frame()) to enter new data via the spreadsheet interface.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=7&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/08/starting-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
		<item>
		<title>A New Blog</title>
		<link>http://calvinball.wordpress.com/2008/06/07/a-new-blog/</link>
		<comments>http://calvinball.wordpress.com/2008/06/07/a-new-blog/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 05:32:49 +0000</pubDate>
		<dc:creator>bluemountain98</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://calvinball.wordpress.com/?p=4</guid>
		<description><![CDATA[Hi, I&#8217;m Suvarshi Bhadra. I started this blog to document my summer of research at Allegheny College. I&#8217;m working with Dr. Kapfhammer, in the computer science department, primarily in the area of software testing. I hope I can also blog about other miscellaneous items as I haven&#8217;t really blogged before. And btw the blog is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=4&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi, I&#8217;m Suvarshi Bhadra. I started this blog to document my summer of research at Allegheny College. I&#8217;m working with Dr. Kapfhammer, in the computer science department, primarily in the area of software testing.</p>
<p>I hope I can also blog about other miscellaneous items as I haven&#8217;t really blogged before. And btw the blog is named after the now infamous game of CalvinBall. Rules can be found <a href="http://www.simplych.com/cb_rules.htm" target="_blank">here.</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/calvinball.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/calvinball.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/calvinball.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/calvinball.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/calvinball.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=calvinball.wordpress.com&amp;blog=3918451&amp;post=4&amp;subd=calvinball&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://calvinball.wordpress.com/2008/06/07/a-new-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">bluemountain98</media:title>
		</media:content>
	</item>
	</channel>
</rss>
