Show More
@@ -108,7 +108,7 b' def _takefullsample(dag, nodes, size):' | |||||
108 | always = dag.headsetofconnecteds(nodes) |
|
108 | always = dag.headsetofconnecteds(nodes) | |
109 | if size <= len(always): |
|
109 | if size <= len(always): | |
110 | return always |
|
110 | return always | |
111 |
sample = s |
|
111 | sample = always | |
112 | # update from heads |
|
112 | # update from heads | |
113 | _updatesample(dag, nodes, sample, always) |
|
113 | _updatesample(dag, nodes, sample, always) | |
114 | # update from roots |
|
114 | # update from roots |
@@ -326,7 +326,7 b' One with >200 heads, which used to use u' | |||||
326 | query 6; still undecided: 540, sample size is: 200 |
|
326 | query 6; still undecided: 540, sample size is: 200 | |
327 | sampling from both directions |
|
327 | sampling from both directions | |
328 | searching: 7 queries |
|
328 | searching: 7 queries | |
329 |
query 7; still undecided: |
|
329 | query 7; still undecided: 46, sample size is: 46 | |
330 | 7 total queries |
|
330 | 7 total queries | |
331 | common heads: 3ee37d65064a |
|
331 | common heads: 3ee37d65064a | |
332 |
|
332 |
General Comments 0
You need to be logged in to leave comments.
Login now