Ejemplo n.º 1
0
 public void Load(BinaryReader Input)
 {
     var len = Input.ReadInt32 ();
     this.Pivs = CompositeIO<PivotGroup.Pivot>.LoadVector (Input, len, null) as PivotGroup.Pivot[];
     this.Filename = Input.ReadString ();
     this.DiskItems = new DiskList64<ItemPair>(this.Filename, 1024);
 }
Ejemplo n.º 2
0
 //        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);
     }
 }