×

Interval tree for identifying intervals that intersect with a query interval

  • US 7,512,617 B2
  • Filed: 12/29/2004
  • Issued: 03/31/2009
  • Est. Priority Date: 12/29/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • scheduling a task for a software application that manages a plurality of tasks by processing program code on a processing unit to perform the following;

    performing a read operation on a cache and/or database at a region of said cache and/or database where information contained at node of an interval tree is stored, said information comprising first and second interval keys, a pointer and an interval, said first and second interval keys having corresponding first and second intervals, said pointer pointing to a lower node having lower interval keys, each of said lower interval keys having corresponding intervals that either;

    a) all start within a range between said first interval'"'"'s start and said second interval'"'"'s start;

    or,b) all end within a range between said first interval'"'"'s end and said second interval'"'"'s end;

    wherein said interval identifies the earliest start and latest end amongst all intervals having keys at or beneath said node within said interval tree;

    determining if intervals associated with interval keys of said node and/or said node'"'"'s children have the potential to intersect a query interval by determining if said query interval overlaps said interval, wherein, said potential to intersect is deemed to exist if said query interval overlaps said interval;

    looking amongst said intervals for an intersection with said query interval if said potential to intersect is deemed to exist, or, referring to another node that is higher than said node within said interval tree if said potential to intersect is deemed not to exist; and

    ,scheduling said task because other scheduled tasks do not conflict with said task over said query interval, said scheduled task recorded in a machine readable storage medium.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×