<?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>Floating Points</title>
	<atom:link href="http://floatingpoints.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://floatingpoints.wordpress.com</link>
	<description>- By Jay Mahadeokar</description>
	<lastBuildDate>Thu, 12 Jan 2012 12:53:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='floatingpoints.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/60c289c5155fd8a0f4eb1b80db0df79c?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Floating Points</title>
		<link>http://floatingpoints.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://floatingpoints.wordpress.com/osd.xml" title="Floating Points" />
	<atom:link rel='hub' href='http://floatingpoints.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The overall technical details TDSP Algorithm.</title>
		<link>http://floatingpoints.wordpress.com/2011/07/06/the-overall-technical-details-tdsp-algorithm/</link>
		<comments>http://floatingpoints.wordpress.com/2011/07/06/the-overall-technical-details-tdsp-algorithm/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 09:08:36 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[GSoc2011]]></category>
		<category><![CDATA[pgRouting]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=152</guid>
		<description><![CDATA[The first evaluation is almost due, and I guess I have successfully achieved the goals set till now. I had not blogged about GSoc project for quite a while now, so here are the overall technical details. &#160; The basic overview of Time Dependent Shortest Path (TDSP) Algorithm is as follows: 1. The time dependent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=152&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The first evaluation is almost due, and I guess I have successfully achieved the goals set till now. I had not blogged about GSoc project for quite a while now, so here are the overall technical details.</p>
<p>&nbsp;</p>
<p>The basic overview of Time Dependent Shortest Path (TDSP) Algorithm is as follows:</p>
<p><strong>1. The time dependent data will be queried from postgres database.</strong><br />
We assume we have following database tables:</p>
<p><strong>1. Ways</strong>: (On lines of the one in pgrouting-workshop)<br />
* gid<br />
* source<br />
* target<br />
* name<br />
* the_geom<br />
* static_length (In case time dependent routing is not used)<br />
* any other attributes</p>
<p><strong>2. TimeDepCosts</strong><br />
* gid<br />
* start_time<br />
* end_time<br />
* travel_time</p>
<p>If only static shortest path query is made, then only table 1 is required. If time-dependent shortest path query is made, table 1 and 2 will be used.</p>
<p><strong>Time Dependent SQL Query prototype:</strong></p>
<p>CREATE OR REPLACE FUNCTION time_dependent_shortest_path<br />
(<br />
sql text,<br />
source_id integer,<br />
target_id integer,<br />
directed boolean,<br />
has_reverse_cost boolean,<br />
time_dep_sql text,<br />
query_start_time integer<br />
)<br />
RETURNS SETOF path_result AS &#8216;$libdir/librouting_tdsp&#8217;<br />
LANGUAGE &#8216;C&#8217; IMMUTABLE STRICT;</p>
<p><strong>2. The postgresql Server Programming Interface is used to retrieve data from database.</strong><br />
The time_dependent_shortest_path query is internally calls the dynamically loaded objects which are postgresql C functions. It is defined in tdsp.h [3].<br />
The Server Programming Interface (SPI) is used to retrieve tuples from ways table into array of edge_columns, defined in tdsp.h.  Similarly tuples from time_dep_costs table are retrieved into array of weight_map_elements.<br />
These are then passed on to the tdsp_wrapper() function which has following prototype:</p>
<p>int tdsp_wrapper<br />
(<br />
edge_columns_t *edges,<br />
unsigned int edge_count,<br />
weight_map_element_t *weight_map_elements,<br />
int weight_map_element_count,<br />
int start_vertex,<br />
int end_vertex,<br />
bool directed,<br />
bool has_reverse_cost,<br />
path_element_t **path,<br />
int *path_count,<br />
char **err_msg<br />
);<br />
The tdsp_wrapper internally calls the tdsp() function, details are given in next section.</p>
<p><strong> Core function Assumption:</strong><br />
The core function assumes that the query_start_time is 0 and all the start_times in weight map are offset from the query_start_time. This makes the core function independent of the time units and data formats of the input data.<br />
To use the core function with any input data, we need to write wrapper functions that will convert the time_dep_cost entries into weight map entries which follow the above convention. This greatly simplifies the working of the core algorithm and makes the design very flexible and robust.</p>
<p><strong> 3. The core time dependent dijkstra algorithm.</strong><br />
The core algorithm is referred from [1].</p>
<p>The input to a time-dependent shortest path problem is a directed network G = (N,A) and an arrival time function aij(t) for every arc (i, j) ∈ A. The quantity aij(t) gives the time of arrival at j if one departs from i at time t. It is assumed that aij(t) ≥ t. The function aij(t)−t gives the travel time along arc (i, j) if one departs at time t.</p>
<p>If aij(t) is non-decreasing for all (i, j) ∈ A, we say that G is a FIFO network, since in this case commodities will travel through arcs in a First-In-First-Out manner. If this is not the case the problem will be NP Complete. We will therefore assume that G is a FIFO network.</p>
<p>Let P(s, d) denote the set of paths between a source node s and a destination node d. The function EAsd(t) = min{ap(t) : p ∈P(s, d)} gives the earliest arrival time at node d if one leaves s at time t<br />
The pseudo-code for solving the Single source – destination query is as follows:</p>
<p><strong>Initialization:</strong></p>
<p>For all i ∈ N{s}<br />
EAsi(t)←∞</p>
<p>EAss(t)←t</p>
<p>S ←N</p>
<p>Main Loop:</p>
<p>While S != ∅</p>
<p>Select i ∈ S minimizing EAsi(t) S ←S{i}</p>
<p>For all j such that (i, j) ∈ A</p>
<p>EAsj(t) ← min{EAsj(t), aij(EAsi(t))}</p>
<p><strong>The design overview is as follows:</strong></p>
<p><a href="http://floatingpoints.files.wordpress.com/2011/07/designoverview.jpg"><img class="aligncenter size-full wp-image-153" title="designOverview" src="http://floatingpoints.files.wordpress.com/2011/07/designoverview.jpg?w=480&#038;h=360" alt="" width="480" height="360" /></a></p>
<p><strong> Edge Wrapper</strong><br />
The edges retrieved from the ways table are fed to the edge wrapper. The edge wrapper provides wrapper functions that help answer queries like -<br />
Given an edge_id, what are the source and target vertex ids.<br />
Given source and target vertex ids, what is the edge id.</p>
<p><strong>Weight Map</strong><br />
The weight map elements retrieved from the time_dep_costs table are fed to the Weight Map. It answers queries like -<br />
Given an edge_id and start_time, what is the travel time for the edge.</p>
<p><strong>Binary Heap</strong><br />
It is used as priority queue while performing time dependent dijkstra search. It provides following functionality -<br />
Insert – Add a vertex to the heap.<br />
Decrease_Key – Given a vertex_id and delta value, decrease the key of that vertex by delta.<br />
Delete_min – Delete and return the vertex with minimum key value and rebalance the heap.</p>
<p><strong> Boost Adjecency List Graph</strong><br />
It is the graph constructed from the edges retrieved from ways table. It is used to examine the out_edges from a vertex while running the time dependent dijkstra algorithm. It offers many flexible options. For more details refer the boost documentation [2].</p>
<p><strong> 4. The result:</strong><br />
The result is returned in form of path_elements which is similar to the result of the shortest_path() query of the original pgRouting dijkstra algorithm implementation.</p>
<p><strong> 5. References</strong><br />
[1] B Dean. Shortest Paths in FIFO Time-Dependent Networks : Theory and Algorithms, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.94.6765<br />
[2] Boost Adjecency List. http://www.boost.org/doc/libs/1_36_0/libs/graph/doc/adjacency_list.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=152&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/07/06/the-overall-technical-details-tdsp-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>

		<media:content url="http://floatingpoints.files.wordpress.com/2011/07/designoverview.jpg" medium="image">
			<media:title type="html">designOverview</media:title>
		</media:content>
	</item>
		<item>
		<title>Core TDSP Implementation</title>
		<link>http://floatingpoints.wordpress.com/2011/06/09/core-tdsp-implementation/</link>
		<comments>http://floatingpoints.wordpress.com/2011/06/09/core-tdsp-implementation/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 22:40:58 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[GSoc2011]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=150</guid>
		<description><![CDATA[Hey! Its 3rd week of the coding phase of GSoc 2011 and my project seems to be well ahead of its schedule   As per initial proposal, aim till June 15 was to code and test the core TDSP algorithm. Current Progress: The design details can be seen here. * According to new plan, we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=150&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey!</p>
<p>Its 3rd week of the coding phase of GSoc 2011 and my project seems to be well ahead of its schedule <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />   As per initial proposal, aim till June 15 was to code and test the core TDSP algorithm.</p>
<div id="LC24"><strong>Current Progress:</strong></div>
<div id="LC27">The design details can be seen <a href="https://github.com/pgRouting/pgrouting/wiki/TDSP-Details">here.</a></div>
<div id="LC28">* According to new plan, we are not using Boost Priority Queues for heap operations during dijkstra search.</div>
<div id="LC30">Instead, I have implemented a binary heap that will provide the functionality.</div>
<div id="LC31">I have also coded the data structures that would be required for the core &#8211; time dependent dijkstra implementation.</div>
<div id="LC32">The initial working draft of algorithm is also ready.</div>
<div id="LC33">Please find the <a href="https://github.com/pgRouting/pgrouting/blob/gsoc-tdsp/extra/tdsp/src/tdsp_core.cpp">source file here.</a></div>
<div>
<div id="LC13">I have also organised the code into different header files &#8211; binary_heap.h, weight_map.h, edge_wrapper.h.</div>
<div id="LC15">Added a boost &#8211; dijkstra test function which calls boost::dijkstra_shortest_paths() so as to verify the result.</div>
<div><strong>Testing</strong></div>
<div id="LC16">I wrote a graph generator which can generate random graphs according to the parameters specified:</div>
<div id="LC17">- number of vertices</div>
<div id="LC18">- maximum outdegree of a vertex (I keep this 6 or 8 , since 6 is degree limit for planar graphs)</div>
<div id="LC19">- Number of time windows and the range of time windows.</div>
<div id="LC21">So, to see if the result returned by tdsp-dijkstra function is correct, I generated random graphs with time window 1, which starts from 0, meaning that the same travel time will be there for any given start time. This is basically static dijkstra.</div>
<div id="LC23">I compared the results returned by tdsp-dijkstra and boost-dijkstra and I am getting same output. Tried for graphs with 20,100,500,1000 nodes with max outdegree 8. (generating graphs with nodes more than that was taking too much time and my CPU was getting overworked!)</div>
<div id="LC25">Only difference in boost-output and tdsp-output comes when there are more than one shortest paths of same length. The there might be difference of predecessors. I guess that is because of different implementations of priority queue (binary_heap in my case).</div>
<div id="LC27">I have updated the code in <a href="https://github.com/pgRouting/pgrouting/tree/gsoc-tdsp">github gsoc-tdsp branch. </a></div>
</div>
<div>I have updated the weekly progress reports at the <a href="https://github.com/pgRouting/pgrouting/wiki/Time-dependent---Dynamic-Shortest-Path">TDSP home page</a>.</div>
<div>Hope the upcoming weeks are similarly productive!  <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/150/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/150/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/150/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=150&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/06/09/core-tdsp-implementation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>Time Dependent Shortest Path Algorithm Overview</title>
		<link>http://floatingpoints.wordpress.com/2011/04/29/time-dependent-shortest-path-algorithm-overview/</link>
		<comments>http://floatingpoints.wordpress.com/2011/04/29/time-dependent-shortest-path-algorithm-overview/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 18:46:19 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=144</guid>
		<description><![CDATA[As mentioned in my last post, I will be doing Google Summer of code project for pgRouting. Here, I will give an overview of the algorithm implementation. pgRouting is a C++ library that provides routing functionality for postgres. I will be extending it so that it can support time dependent routing. An abstract overview of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=144&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As mentioned in my last post, I will be doing Google Summer of code project for pgRouting. Here, I will give an overview of the algorithm implementation.</p>
<p>pgRouting is a C++ library that provides routing functionality for postgres. I will be extending it so that it can support time dependent routing. An abstract overview of the idea is:</p>
<p><a href="http://floatingpoints.files.wordpress.com/2011/04/basicoverview.png"><img class="alignleft size-full wp-image-145" title="BasicOverview" src="http://floatingpoints.files.wordpress.com/2011/04/basicoverview.png?w=480&#038;h=43" alt="" width="480" height="43" /></a><a href="http://floatingpoints.files.wordpress.com/2011/04/basicoverview.png"><br />
</a></p>
<ul>
<li>The time dependent data will be queried from postgres database.</li>
<li>Using the information, a graph will be generated</li>
<li>The core time dependent dijkstra algorithm will be run on the graph</li>
<li>The result will be returned</li>
</ul>
<p>The input to a time-dependent shortest path problem is a directed network G = (N,A) and an arrival time function aij(t) for every arc  (i, j) ∈ A. The quantity aij(t) gives the time of arrival at j if one departs from i at time t. It is assumed that aij(t) ≥ t.<br />
The function aij(t)−t gives the travel time along arc (i, j) if one departs at time t.</p>
<p>If aij(t) is non-decreasing for all (i, j) ∈ A, we say that G is a FIFO network, since in this case commodities will travel through arcs in a First-In-First-Out manner. If this is not the case the problem will be NP Complete. We will therefore assume that G is a FIFO network.</p>
<p>Let P(s, d) denote the set of paths between a source node s and a destination node d. The function EAsd(t) = min{ap(t) : p ∈P(s, d)} gives the earliest arrival time at node d if one leaves s at time t</p>
<p>The pseudo-code for solving the Single source &#8211; destination query is as follows:</p>
<p><strong>Initialization:</strong></p>
<p>For all i ∈ N\{s} : EAsi(t)←∞<br />
EAss(t)←t<br />
S ←N</p>
<p><strong>Main Loop:</strong></p>
<p>While S != ∅<br />
Select i ∈ S minimizing EAsi(t) S ←S\{i}<br />
For all j such that (i, j) ∈ A<br />
EAsj(t)←min{EAsj(t), aij(EAsi(t))}</p>
<p>This will be basically a SQL C function for postgres. More updates to follow&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=144&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/04/29/time-dependent-shortest-path-algorithm-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>

		<media:content url="http://floatingpoints.files.wordpress.com/2011/04/basicoverview.png" medium="image">
			<media:title type="html">BasicOverview</media:title>
		</media:content>
	</item>
		<item>
		<title>Proposal accepted for GSoc 2011</title>
		<link>http://floatingpoints.wordpress.com/2011/04/26/proposal-accepted-for-gsoc-2011/</link>
		<comments>http://floatingpoints.wordpress.com/2011/04/26/proposal-accepted-for-gsoc-2011/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 21:07:52 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[GSoc2011]]></category>
		<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[GSoc 2011 pgRouting]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=139</guid>
		<description><![CDATA[Hey! Been long time since I blogged. Just finished with my exams today. And guess what, GSoc 2011 results are out, and my project proposal for implementation of Time Dependent Shortest Path Algorithm for pgRouting has been accepted! Short description of the project: This project aims at extending the pgRouting library to support time-dependent shortest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=139&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey! Been long time since I blogged. Just finished with my exams today.</p>
<p>And guess what, GSoc 2011 results are out, and my project proposal for implementation of <a href="http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/jaymahadeokar/1">Time Dependent Shortest Path Algorithm</a> for pgRouting has been accepted! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Short description of the project:</strong></p>
<blockquote><p>This project aims at extending the pgRouting library to support time-dependent shortest path routing where the edge weights are function of time and other parameters. Unlike static scenario, where the edge weights do not change here, we assume that the weights change according to time. So, while traversing any edge, the algorithm must consider the cost of edge at that instant of time. Thus the algorithm will give the path which has least arrival time from source to destination.</p></blockquote>
<p>It sure promises to be one exciting summer! Best thing is that the project closely overlaps with the research topic I am working on currently as part of my thesis. I will keep updating on the project of the project through-out summer. So Stay tuned!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/139/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/139/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/139/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=139&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/04/26/proposal-accepted-for-gsoc-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>Gate 2011 cutoff queries</title>
		<link>http://floatingpoints.wordpress.com/2011/02/16/gate-2011-cutoff-queries/</link>
		<comments>http://floatingpoints.wordpress.com/2011/02/16/gate-2011-cutoff-queries/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 18:38:45 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[GATE]]></category>
		<category><![CDATA[IIT Kanpur]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=136</guid>
		<description><![CDATA[Hi guys, Gate 2011 finished off 3 days ago, and it seems a the number of people aspiring for IITs this year is HUGE!  Since the answer keys have been put up by various coaching institutes, people have a fair idea about ther GATE marks. To my surprise, there has been unexpected traffic to my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=136&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Gate 2011 finished off 3 days ago, and it seems a the number of people aspiring for IITs this year is <strong>HUGE</strong>!  Since the answer keys have been put up by various coaching institutes, people have a fair idea about ther GATE marks.</p>
<p>To my surprise, there has been unexpected traffic to my blog post  <a href="http://floatingpoints.wordpress.com/2010/05/28/iits-and-gate-cuttoff-story-2010/">IITs and Gate Cutoff Story 2010</a> written way back in May 2010!  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (More than 1000 hits in last 4 days.. Seriously! Nobody used to wonder here before! <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p>I am really happy to see the enthusiasm among the students to know what chance they have for getting admissions into the top Colleges in India. But I would still tell all you guys to wait before the actual GATE result is out, (which will not be until 2nd week of March!) before you really start thinking about where to take admission.</p>
<p>If you still have any doubts, I will be happy to answer your queries to the best of my knowledge. Please note that I am from CSE department, and dont know much about cut-offs of other departments. You are welcome to post your queries here or at the above mentioned blog post as comments!</p>
<p>Best Luck! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=136&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/02/16/gate-2011-cutoff-queries/feed/</wfw:commentRss>
		<slash:comments>264</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>IITK Hall &#8211; 4, Second home!</title>
		<link>http://floatingpoints.wordpress.com/2011/01/17/iitk-hall-4-second-home/</link>
		<comments>http://floatingpoints.wordpress.com/2011/01/17/iitk-hall-4-second-home/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 12:43:32 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=131</guid>
		<description><![CDATA[In IIT Kanpur, we call hostels &#8211; Halls of Residence. I live in Hall-4 and it is one of the most beautiful places where you can wish to live. The following quote taken directly from the new Hall-4 website. Almost centrally located amongst the student hostels of IIT Kanpur, Hall 4 enjoys a unique repute [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=131&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In IIT Kanpur, we call hostels &#8211; Halls of Residence. I live in Hall-4 and it is one of the most beautiful places where you can wish to live. The following quote taken directly from the new <a href="http://www.iitk.ac.in/hall4/">Hall-4 website</a>.</p>
<blockquote><p><em> Almost centrally located amongst the student hostels of IIT  Kanpur, Hall 4 enjoys a unique repute of having most of the  distinguished alumni of the institute as its ex-residents. The spirit of  Hall 4 lies in its policy of social activism, intellectual contribution  and the diverse tapestry of cultural fragrance. Said to possess some of  the most forthright group of students, the Hall has in the past taken  major social initiatives and proposed solutions to the institute  regarding various issues including the proposal of a new mess model. The  Hall is proud to have the student gymkhana constitution being modelled  after its own constitution.</em></p>
<p><em>The hustle and bustle that goes on in the Hall quad goes on to  late nights and sometimes even very early mornings, accompanied by sips  of tea and coffee in the Hall 4 canteen. A very different and focused  group of students carry on playing shots at the Billiard room, which is  the only such facility in any of the student hostels of the institute.  While the residents of the Hall have taken patents for their research  work and contribute to various symposiums, conferences and journals in  academics, an interdisciplinary camaraderie is also seen amongst the  residents of the hall.</em></p></blockquote>
<p><strong>Things which I like here</strong>?</p>
<ul>
<li><strong>Mess Food</strong> &#8211; It is awesome. Before coming here I had heard stories of people describing how ugly hostel food is. Believe me, I love it here. (Specially Friday night). Have a look into the <a href="http://www.iitk.ac.in/hall4/pdf/messmenu.pdf">Hall 4 Mess menu.</a> (mouth watering <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</li>
<li><strong>Facilities</strong> &#8211; You name any sport and you can play it here. Facilities are really awesome. Since it is the oldest hostel in IITK, it does not have the modern spacious feel to it as some of the newer halls do, but still I like it!</li>
<li><strong>Canteen</strong> &#8211; If you ever get bored of mess food, you have the canteen! Beautifully located near the lawn, it is the perfect place to have the &#8220;DPs&#8221; after midnight! All the birthday celebrations and the GPLs are done here. Special mention to Ranjit who brings the DP and the new &#8220;Rahul&#8221;. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </li>
</ul>
<p>&nbsp;</p>
<p><strong>PS:</strong> I will duly remove the above quotes if I am not allowed to copy the content here. Please mention it as a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=131&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2011/01/17/iitk-hall-4-second-home/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>Warshall&#8217;s APSP using BGL</title>
		<link>http://floatingpoints.wordpress.com/2010/12/19/warshalls-apsp-using-bgl/</link>
		<comments>http://floatingpoints.wordpress.com/2010/12/19/warshalls-apsp-using-bgl/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 21:23:33 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[All pairs shortest path]]></category>
		<category><![CDATA[BGL]]></category>
		<category><![CDATA[Boost Graph Library]]></category>
		<category><![CDATA[Warshall Algo]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=122</guid>
		<description><![CDATA[I have been working on pgRouting for past few days, specifically the All Pairs Shortest Path APSP function. pgRouting internally uses Boost Graph Library(BGL) to handle the non-trivial graph related functionality and for APSP, we have decided to use the Warshall&#8217;s Algorithm. The BGL manual gives an example of the Johnson&#8217;s APSP implementation, and you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=122&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been working on pgRouting for past few days, specifically the All Pairs Shortest Path APSP function. pgRouting internally uses Boost Graph Library(BGL) to handle the non-trivial graph related functionality and for APSP, we have decided to use the <a href="http://www.boost.org/doc/libs/1_45_0/libs/graph/doc/floyd_warshall_shortest.html" target="_blank">Warshall&#8217;s Algorithm.</a></p>
<p>The BGL manual gives an example of the Johnson&#8217;s APSP implementation, and you need to tweak it a little bit to get the same working for Warshall. The following code will give a quick bite of how you can implement the Warshall&#8217;s Algo.</p>
<p><strong>Note:</strong> All credits to the BGL manual, I have just modified it to work for Warshall <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><pre class="brush: cpp;">
#include &lt;boost/config.hpp&gt;

#include &lt;iostream&gt;

#include &lt;fstream&gt;
#include &lt;boost/graph/graph_traits.hpp&gt;

#include &lt;boost/graph/adjacency_list.hpp&gt;

#include &lt;boost/graph/floyd_warshall_shortest.hpp&gt;

using namespace boost;
typedef adjacency_list&lt;vecS, vecS, directedS, no_property,property&lt;edge_weight_t, int, property&lt;edge_weight2_t, int&gt; &gt; &gt; Graph;

void static_warshall()

{

const int V = 6;	typedef std::pair&lt;int,int&gt; Edge;
Edge edge_array[ ] =	{ Edge(0,1), Edge(0,2), Edge(0,3), Edge(0,4), Edge(0,5),	Edge(1,2), Edge(1,5), Edge(1,3), Edge(2,4),                             Edge(2,5),	Edge(3,2), Edge(4,3), Edge(4,1), Edge(5,4) };
const int E = sizeof (edge_array)/sizeof (Edge);
int weights[] = { 0, 0, 0, 0, 0, 3, -4, 8, 1, 7, 4, -5, 2, 6 };

Graph g(edge_array, edge_array + E, weights, V);

std::vector&lt;int&gt; d(V, std::numeric_limits&lt;int&gt;::max());	int D[V][V];
floyd_warshall_all_pairs_shortest_paths(g, D, distance_map(&amp;d[0]));

for(int i=0;i&lt;V;i++)

{

for(int j=0;j&lt;V;j++)

{

std::cout&lt;&lt;D[i][j]&lt;&lt;&quot; &quot;;

}

std::cout&lt;&lt;std::endl;

}

}

&amp;nbsp;
</pre></p>
<p>I hope I can come up with a working version of APSP for pgRouting some time in future. You can check out the core source code from the git repository I have forked here: <a href="https://github.com/jay-mahadeokar/pgrouting">https://github.com/jay-mahadeokar/pgrouting</a></p>
<p>Cheers!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=122&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2010/12/19/warshalls-apsp-using-bgl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>GATE CSE Preparation FAQ</title>
		<link>http://floatingpoints.wordpress.com/2010/12/14/gate-cse-preparation-faq/</link>
		<comments>http://floatingpoints.wordpress.com/2010/12/14/gate-cse-preparation-faq/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 12:47:50 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[GATE]]></category>
		<category><![CDATA[gate cse]]></category>
		<category><![CDATA[gate preparation]]></category>
		<category><![CDATA[GATE2011]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=115</guid>
		<description><![CDATA[I have blogged about GATE preparation quite a lot, and I keep on getting common questions.  I will try to answer some of them here. Most points will be reiterated and available widely on internet. It always helps to use GOOGLE! When should one start GATE preparation? Well, GATE tests your basic concepts. Those you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=115&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have blogged about GATE preparation quite a lot, and I keep on getting common questions.  I will try to answer some of them here. Most points will be reiterated and available widely on internet. It always helps to use GOOGLE! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>When should one start GATE preparation?</strong></p>
<p>Well, GATE tests your basic concepts. Those you should build right throughout your undergraduate college days. Basically, you should go through all the standard textbook material and try to understand the concepts. If you are serious for GATE, it is sufficient to start its preparation, 6 to 8 months before the exam, revising all the concepts one by one. If you start studies anytime before it will be added bonus! It will always help if you have understood the basics when you were actually taking the course itself!</p>
<p><strong> </strong><strong>What are the important subjects for CSE?</strong></p>
<p>All subjects are important! But again you need not study each and every concept in depth. Pick up 5 to 6 subjects that are your favorite ones and concentrate on them. Discrete Maths, Algorithms, OS, Data Structures,TOC are must according to me. You may leave one or two subjects as you dont need to score 100/100! (I had not prepared for compilers very thoroughly)</p>
<p><strong></strong><strong>What order should we study the subjects?</strong></p>
<p><strong>Discrete MATHS &#8211; </strong>it should be the first one knocked off.. It forms the basics of all other subjects. Then you may study according to your personal likes. Algorithms and DS is a good choice after that!</p>
<p><strong></strong><strong>What books to follow?</strong></p>
<p><a href="http://floatingpoints.wordpress.com/2010/05/27/gate-cs-you-may-refer-these/" target="_blank">Check out this post</a></p>
<p><strong></strong><strong>How to prepare for Maths Part?</strong></p>
<p><a href="http://floatingpoints.wordpress.com/2010/09/04/preparing-maths-for-gate-cs/" target="_blank">Check out this post</a></p>
<p><strong></strong><strong>What are the cutoffs for various IITs/IISC?</strong></p>
<p><a title="IITs and GATE cutoff story 2010" href="http://floatingpoints.wordpress.com/2010/05/28/iits-and-gate-cuttoff-story-2010/" target="_blank">Check out this post</a></p>
<p><strong></strong><strong>What about Gate Coaching?</strong></p>
<p>Classroom coaching &#8211; I guess it is not needed. Again it  depends on individuals and their study techniques. But, i seriously doubt how much a crash course can help! (Again it is my personal opinion)</p>
<p><strong></strong><strong>Test Series?</strong></p>
<p>GATEForum test series is a very good practice and most of the serious gate contenders go for that. It gives you a nice idea of where you stand, and your actual GATE score is often very similar to your Gateforum test series scores. So, it will help to take them seriously and get the hand of what to expect from GATE exam.</p>
<p>&nbsp;</p>
<p><strong>NOTE &#8211; If you have any specific queries, post them as questions and I will try and append them as FAQ here!</strong></p>
<p><strong>BEST LUCK! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </strong></p>
<p><strong>DISCLAIMER: The answers to the questions are my own thoughts and everyone must make sure they gather more info from other reliable and experienced resources too..</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=115&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2010/12/14/gate-cse-preparation-faq/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>Contribution to pgRouting</title>
		<link>http://floatingpoints.wordpress.com/2010/12/08/contribution-to-pgrouting/</link>
		<comments>http://floatingpoints.wordpress.com/2010/12/08/contribution-to-pgrouting/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 17:46:54 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[postgreSQL]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=109</guid>
		<description><![CDATA[Its semester holidays @IIT kanpur and I am enjoying the stay at home! Meanwhile, I have found a really interesting pass-time. The pgRouting project! I got introduced to pgRouting when I was working at Location Guru, we used to call some routing plsql function of postgres that were implemented using pgRouting, and even then I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=109&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Its semester holidays @IIT kanpur and I am enjoying the stay at home! Meanwhile, I have found a really interesting pass-time. The <a title="pgRouting Project!" href="https://github.com/pgRouting/pgrouting" target="_blank">pgRouting project</a>!</p>
<p>I got introduced to pgRouting when I was working at Location Guru, we used to call some routing plsql function of postgres that were implemented using pgRouting, and even then I was fascinated with the things inside it. Now I am getting the chance to get into the inner details and learn a host of other technologies.</p>
<p>Basically, in order to contribute to pgRouting, you need to learn:</p>
<ul>
<li>C++ STL and Templates</li>
<li>Boost Graph Library</li>
<li>postgreSQL and postGIS basics</li>
<li>plsql</li>
<li>cmake</li>
</ul>
<p>Its amazing how many small things are needed to make a nice tool. That is I guess the power of open-source and collaboration!  I will keep updating the things I explore as I try to put these holidays to some use (though I keep on finding new innovative ways to waste time!). I do need to think on what thesis topic I will work on pretty soon too!</p>
<p>Cheers!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=109&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2010/12/08/contribution-to-pgrouting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
		<item>
		<title>Randomized Algorithms</title>
		<link>http://floatingpoints.wordpress.com/2010/11/27/randomized-algorithms/</link>
		<comments>http://floatingpoints.wordpress.com/2010/11/27/randomized-algorithms/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 01:48:57 +0000</pubDate>
		<dc:creator>Jay Mahadeokar</dc:creator>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[IIT Kanpur]]></category>
		<category><![CDATA[algorithms]]></category>
		<category><![CDATA[iitk]]></category>
		<category><![CDATA[randomized]]></category>

		<guid isPermaLink="false">http://floatingpoints.wordpress.com/?p=104</guid>
		<description><![CDATA[Wow..  I have finally completed my First Semester at IIT Kanpur!  The course work was interesting and challenging and schedule was sometimes daunting, but all in all I have learned much more than I could have imagined. The Randomized Algorithms course taken by Prof. Surendra Baswana was my favourite course this semester, where I can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=104&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Wow..  I have finally completed my First Semester at IIT Kanpur!  The course work was interesting and challenging and schedule was sometimes daunting, but all in all I have learned much more than I could have imagined.</p>
<p>The Randomized Algorithms course taken by<a href="http://www.cse.iitk.ac.in/users/sbaswana/"> Prof. Surendra Baswana </a>was my favourite course this semester, where I can say I learned the most. I must admit that I was not good at probability theory to start with as I did not have a full course on probability during my graduation. So, I wanted to take this course to get comfortable with that. I can now say I have ended up with whole set of new tools that I can use in the future.</p>
<p>The course is really well structured and the style of teaching is amazing. At the same time, it is quite demanding and if you do not give enough time and attention to course every day, you may end up not understanding the future concepts at all. I did find it a bit difficult to cope up at the start (since I was not used to studying so much&#8230;  ) but in the long run I feel this will help me a lot.</p>
<ul>
<li>Basics of probability theory and concepts like sample space, events, conditional probability, random variables, expectation etc were covered right from the scratch.</li>
<li>Tools like linearity of expectation, partition theorem, Markov Inequality, Chernoff Bound, Chebyshev Inequality, Method of Bounded Difference were taught thoroughly and we had to apply them on a host of practice and assignment problems.</li>
<li>Different randomized algorithms and their applications to different fascinating areas were taught. Techniques like random sampling, backward analysis, partitioning in stages, hashing, randomized pattern matching, probabilistic methods etc were covered.</li>
</ul>
<p>The assignments and exams were tough and truly tested whether you have <strong>&#8220;internalized the concepts&#8221; </strong>(as Prof. Baswana likes to call it) or not. Though I was very weak in these areas (which showed up in the first mid-sems, I managed to do pretty well in end sem exam (though I did my share of silly mistakes as usual!).  All in all I would say I enjoyed the course a lot.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/floatingpoints.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/floatingpoints.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/floatingpoints.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=floatingpoints.wordpress.com&amp;blog=8680588&amp;post=104&amp;subd=floatingpoints&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://floatingpoints.wordpress.com/2010/11/27/randomized-algorithms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b40a3e4a02b22d6b705875635924e7f5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jay Mahadeokar</media:title>
		</media:content>
	</item>
	</channel>
</rss>
