Content deleted Content added
Find the ''n''th element from the end is not possible in a single pass. in a list of k elements there will be 2k-n reads which is >1 pass |
Donkanmcleod (talk | contribs) No edit summary |
||
Line 4:
Basically one-pass algorithm operates as follows:
# A given object is assigned to one cluster (or more if overlap is allowed) according to some condition on the matching function;
▲(6) if an object fails a certain test it becomes the cluster representative of a new
▲cluster (7) nothing happened
==Example problems solvable by one-pass algorithms==
Given any list as an input:
|