<?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>Julia Albath, PhD &#187; Region Connection Calculus: RCC-8</title>
	<atom:link href="http://julia.albath.org/index.php/archives/category/research/bioinformatics-research/qsr/rcc-8/feed" rel="self" type="application/rss+xml" />
	<link>http://julia.albath.org</link>
	<description>Bioinformatics, Ontology, Reasoning, Wireless Sensor Networks Algorithms and Security</description>
	<lastBuildDate>Mon, 23 Mar 2009 17:19:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Region Connection Calculus: RCC-8</title>
		<link>http://julia.albath.org/index.php/archives/research/region-connection-calculus-rcc-8</link>
		<comments>http://julia.albath.org/index.php/archives/research/region-connection-calculus-rcc-8#comments</comments>
		<pubDate>Sat, 21 Feb 2009 14:04:43 +0000</pubDate>
		<dc:creator>julia</dc:creator>
				<category><![CDATA[bioinformatics]]></category>
		<category><![CDATA[QSR]]></category>
		<category><![CDATA[RCC-8]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[composition table]]></category>
		<category><![CDATA[path consistency]]></category>

		<guid isPermaLink="false">http://julia.albath.org/?p=84</guid>
		<description><![CDATA[I have continue my research into the field of QSR and arrived at RCC-8 for the moment. My task is to decide if RCC-8 or one of its descendants will be suitable for our project. Here&#8217;s an interesting tidbit before I get started, RCC used to stand for Randell, Cui and Cohn, the authors who [...]]]></description>
			<content:encoded><![CDATA[<p>I have continue my research into the field of QSR and arrived at RCC-8 for the moment. My task is to decide if RCC-8 or one of its descendants will be suitable for our project. Here&#8217;s an interesting tidbit before I get started, RCC used to stand for Randell, Cui and Cohn, the authors who first introduced RCC. It has since changed and now refers to Region Connection Calculus, which is a better description. It&#8217;s a good thing the the initials didn&#8217;t have to change.</p>
<p>Before I talk about the theory behind RCC-8, I think an example is in order. If you can&#8217;t wait for my next write-up on RCC-8 go ahead and check out the <a title=\"Wikipedia on RCC-8\" href="http://julia.albath.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9SZWdpb25fQ29ubmVjdGlvbl9DYWxjdWx1cw==" target=\"_blank\">wikipedia page</a>. I&#8217;m also going to borrow the example from the page, but I&#8217;m going to show how the path-consistency algorithm works and how the composition table is used.<span id="more-84"></span></p>
<p>Consider two houses with a road connecting them. Each house is on its own property.  The first house (h1) may or may not be touching the boundary of its property (p1) , the second house (h2)  definitely does not touch the boundary. What can we say about the second property (p2)  in regards to the road (r)?</p>
<p>Let&#8217;s start with what we know:</p>
<ul>
<li>{DC}(h1, h2)</li>
<li>{TPP, NTPP}(h1, p1)</li>
<li>{DC, EC}(h1, p2)</li>
<li>{EC}(h1, r)</li>
<li>{DC, EC}(h2, p1)</li>
<li>{NTPP}(h2, p2)</li>
<li>{EC}(h2, r)</li>
<li>{EC, DC, PO, EQ, TPP, TPPi, NTPP, NTPPi}(r, p1)</li>
<li>{EC, DC, PO, EQ, TPP, TPPi, NTPP, NTPPi}(r, p2)</li>
<li>{DC, EC}(p1, p2)</li>
</ul>
<p>The composition table can be used to find more facts about our problem. R(a, b);S(b,c) can be used to find T(a,c) (we use ; to indicate composition). To use the composition table find the entry for each element of the Cartesian product and take the union of all those. I think an example will make it clearer. Let R(a,b) = {DC, EC}(h1, p2) and S(b,c) = {DC,EC}(p2, p1). The inverse of DC = DC and the inverse of EC = EC, so if {DC, EC}(p1, p2) is true, then so is {DC, EC}(p2, p1) (the inverse of TPP/NTPP are TPPi/NTPPi). T(a,c) = {?, ?}(h1, p1).  The elements of the Cartesian product of {DC, EC}x{DC, EC} are {{DCxDC}, {DCxEC}, {ECxDC}, {ECxEC}}. Looking up those combinations in the composition table and taking the union of all is {*}, where * is the universal relation.  In this case we didn&#8217;t learn anything more, actually we already know more about the relation between h1 and p1.</p>
<p>What we really want is to find more information about (r, p2).  For that we can try {EC}(r, h2) and {NTPP}(h2, p2). The result is {PO, TPP, NTPP}(r, p2). Now we have greatly reduced the possibly relations for (r, p2) from eight to three.  We can continue to use the composition table to find new information about the relations.  Try using the compostion table yourself and see what other information about these relations you can find.</p>
<p>The next part to answering our query is using past-consistency. Given three relations R(xy), S(y,z) and T(x,z) we can find new information by applying path-consistency = {(R; S) intersect T} (x,z). That is we use the composition table to find (R; S) and then the intersection with T. Let&#8217;s look at an example. R(x, y)= {EC}(r, h2), S(y,z) ={NTPP}(h2, p2) and T(x, z) = {PO, TPP, NTPP}(r, p2). {R;S} = {PO, TPP, NTPP} intersect {PO, TPP, NTPP} = {PO, TPP, NTPP}. If the intersection is the empty set, you&#8217;ve found an inconsistency.</p>
<p>Your overall approach to using the composition table and applying path-consistency should be similar to this:</p>
<ol>
<li>Create all useful combinations of possible relations using the composition table. For example, make sure that there is a relations for(h1, h2), (h1, p1), (h1, p2), (h1, r) &#8230;  You don&#8217;t need to write down both directions i.e. (h1, h2) and (h2, h1), but only need to remember the inverses of the eight relations.</li>
<li>Create and list all possible pairs of relations: (h1, h2)(h2,p1), (h1, h2)(h2, p2), (h1,h2)(h2, r) &#8230; and use path consistency to learn new information. Here is an example, (h2, p2)(p2, p1) intersect (h2, p1) = NTPP; {DC, EC} intersect {DC, EC} = {DC} intersect {DC, EC} = {DC}. Now we know that (h2, p1) is not {DC, EC}, but is really only {DC}.</li>
<li>Make a note of all relations which have changed due to step 2.</li>
<li>Continue until you reach the end of the list or find an inconsistency. If you reach the end without an inconsistency, then go back through the list and check all path-consistencies involving of the relations marked in step 3.</li>
<li>Repeat steps 2 &#8211; 4 until all relations remain unchanged.</li>
</ol>
<p>For more mathematical details check out these <a href="http://julia.albath.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jb21wLmxlZWRzLmFjLnVrL2tyci9sZWN0dXJlczA3d3d3L2FpMzRjb21wb3MucGRm" target=\"_self\">lecture slides</a> form the University of Leeds.</p>
<script src="http://feeds.feedburner.com/~s/?i=http://julia.albath.org/index.php/archives/research/region-connection-calculus-rcc-8" type="text/javascript" charset="utf-8"></script> <img src="http://julia.albath.org/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=84" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://julia.albath.org/index.php/archives/research/region-connection-calculus-rcc-8/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

