test for isInRange?

Janko Hauser jhauser at ifm.uni-kiel.de
Wed Mar 1 11:20:40 CET 2000


As it seems, that at the moment all bot's are very creative, I dare to
ask a question.

What is the known right(tm) algorithmic answer to the problem if a number
or a range represented by two numbers(start,stop) is in another range?
Think of a database with geographic locations and you want to to ask
this database (which need not to be a relational db) if there is data
in a given range. (Forget for the moment problems with cyclic ranges)

Same for time.
Is there a known good structure to keep such range information? Should
I look in the geometry department?

Thanks for any advice

__Janko

-- 
  Institut fuer Meereskunde             phone: 49-431-597 3989
  Dept. Theoretical Oceanography        fax  : 49-431-565876
  Duesternbrooker Weg 20                email: jhauser at ifm.uni-kiel.de
  24105 Kiel, Germany



More information about the Python-list mailing list