<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,17 +46,17 @@ class Mapper
     @stops.detect {|stop| stop.stop_id == stop_name}
   end
   
-  def isochrone(stop, time)
+  def forward_isochrone(stop, time)
     @best_times = {stop =&gt; time}
     @stack = [stop]
     until @stack.empty?
-      traverse(@stack.pop, time)
+      traverse_forward(@stack.pop, time)
     end
     @best_times
   end
   
   private
-    def traverse(stop,time)
+    def traverse_forward(stop,time)
       stop.available_hops_after(time).each do |hop|
         if @best_times[hop.destination].nil? || @best_times[hop.destination] &gt; hop.arrival_time
           @best_times[hop.destination] = hop.arrival_time</diff>
      <filename>mapper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ class MapperTest &lt; Test::Unit::TestCase
     assert_equal &quot;NANAA&quot;, m.stop(&quot;STAGECOACH&quot;).available_hops.detect {|hop| hop.trip_id == &quot;CITY1&quot;}.destination.stop_id
   end
   
-  def test_isochrone_creation
+  def test_forward_isochrone_creation
     m = MapperFactory.new('sample-feed').mapper(Date.new(2008, 11, 18))
     nanaa = m.stop(&quot;NANAA&quot;)
     assert_not_nil nanaa
@@ -31,7 +31,7 @@ class MapperTest &lt; Test::Unit::TestCase
     # http://www.google.com/maps?ttype=dep&amp;saddr=North+Ave+at+N+A+Ave+Beatty,+NV&amp;daddr=W+Cottonwood+Dr+at+A+Ave+S+Beatty,+NV&amp;ie=UTF8&amp;f=d&amp;dirflg=r
     # 6:07am	Depart North Ave / N A Ave (Demo)
     # 6:26am	Arrive E Main St / S Irving St (Demo)
-    isochrone = m.isochrone(nanaa, Time.parse(&quot;6:07:00&quot;))
+    isochrone = m.forward_isochrone(nanaa, Time.parse(&quot;6:07:00&quot;))
     assert_equal Time.parse(&quot;6:26:00&quot;), isochrone[m.stop(&quot;EMSI&quot;)]
     assert_equal Time.parse(&quot;6:07:00&quot;), isochrone[nanaa], &quot;should not be able to get to departure stop before we left&quot;
     #puts isochrone.collect {|key,val| [key.stop_id, val]}.sort_by(&amp;:last).inspect</diff>
      <filename>mapper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fe6ab5b5ca4b36673d69472638974d80cb3b912c</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Haran</name>
    <email>chebuctonian@mgmail.com</email>
  </author>
  <url>http://github.com/danielharan/isochrones/commit/c2605d9b12cbb79ec6f6028af53adcbcb4408f2a</url>
  <id>c2605d9b12cbb79ec6f6028af53adcbcb4408f2a</id>
  <committed-date>2008-11-18T12:18:40-08:00</committed-date>
  <authored-date>2008-11-18T12:14:47-08:00</authored-date>
  <message>rename isochrone method</message>
  <tree>3a37f3c733d3abec9f02674cb73e771dbe0bd69e</tree>
  <committer>
    <name>Daniel Haran</name>
    <email>chebuctonian@mgmail.com</email>
  </committer>
</commit>
