// protected virtual void SearchExtremes (DynamicSequential idx, List<ItemPair> items, object piv, double alpha_stddev, int min_bs, out IResult near, out IResult far, out DynamicSequential.Stats stats) // { // throw new NotSupportedException(); // } public virtual void Build(PivotGroup g, string filename) { this.Pivs = g.Pivs; // var num_groups = g.Items.Length; this.DiskItems = new DiskList64<ItemPair> (filename, 1024); foreach (var p in g.Items) { this.DiskItems.Add(p); } }
public void Build(PivotGroup group, double approx_factor) { this.Pivs = group.Pivs; this.Items = group.Items; this.ApproxFactor = approx_factor; }