Content deleted Content added
m fixed CS1 errors: dates to meet MOS:DATEFORMAT (also General fixes) using AWB (10069) |
Remove out of place unused ref that had been copied to the wrong place |
||
(14 intermediate revisions by 14 users not shown) | |||
Line 1:
{{short description|Algorithm for selecting the best sources for time estimation}}
The '''intersection algorithm''' is an
Equipment Corporation, 1989.</ref>
While Marzullo's algorithm will return the smallest interval consistent with the largest number of sources, the returned interval does not necessarily include the center point (calculated offset) of all the sources in the intersection. The
==Method==
Given ''M'' intervals of the form ''c''
The intersection algorithm begins by creating a table of tuples <offset, type>. For each interval there are three entries: the lower endpoint, the midpoint and the upper endpoint, labelled with types −1, 0 and +1 respectively. Thus the interval ''c''
Variables: This algorithm uses ''f'' as number of false tickers, ''endcount'' and ''midcount'' are integers. ''Lower'' and ''upper'' are values of offsets.
<ol start="0">
<li>[increment number of falsetickers] ''f'' = ''f''+1. If ''f'' ≥ ''M''/2 then terminate and return FAILED, otherwise goto step 1.</li>
</ol>
==References ==
|