More A Preliminary Implimentation 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: Idea simplest procedures: Open Project? (Mark Kittisopikul)
Re: More Another Possible Approach: Stern-Brocot Tree (Adam Yavitz)
Date: 2002, Nov 11
From: Adam Yavitz <adamy@uchicago.edu>

Well, I made a quick-and-dirty implimentation of this method and put it at http://home.uchicago.edu/~adamy/find_simplest_sbtree.scm for the general amusement of whoever wishes to view it. It _seems_ to find the simplest, at least in the cases that I've tried, and it seems like it should do it in time linear with the complexity of the lower bound. The basic idea, as per my previous message, is that it takes two rationals and travels down the tree until the paths the two are on diverge, and returns the last common node on the paths.

Any thoughts on whether or not this also finds the simplest by the other suggested formulation of simplicity? My guess is 'yes,' because log is monotonic.


to: "A Preliminary Implimentation"