Components
Select Connection: INPUT[inlineListSuggester(optionQuery(#area)):connections]
Date Created: INPUT[dateTime(defaultValue(null)):Date_Created]
Due Date: INPUT[dateTime(defaultValue(null)):Due_Date]
Priority Level: INPUT[inlineSelect(option(1 Critical), option(2 High), option(3 Medium), option(4 Low)):Priority_Level]
Status: INPUT[inlineSelect(option(1 To Do), option(2 In Progress), option(3 Testing), option(4 Completed), option(5 Blocked)):Status]
Description
or at each stage of the algorithm
definitions is the priority queue that holds the top-k closest points
proof (by induction) base: PQ is empty, so the condition holds induction: assume that the invariant holds before inserting a new point into PQ. We need to prove it still holds after the insertion. There are two cases:
- ⇒ after the insertions, either is still or it becomes exactly . In the latter case, we need to show that
- ⇒ if x is not inserted, the invariant still holds. Otherwise, it replaces the previous , since the algorithm replaces the point with highest distance. We need to show that new satisfies we still have to prove that for any new . By construction, it holds that for any point , . Since is the true k nearest neighbor, we have that:
From the definition and the monotonicity of the LSH Family, we can conclude that implies , thus concluding the proof.