示例#1
0
 public LocalSearchRestarts(LocalSearchRestarts a)
     : base()
 {
     this.DB = a.DB;
     this.Neighbors = a.Neighbors;
     this.Vertices = a.Vertices;
 }
示例#2
0
文件: Indexes.cs 项目: sadit/natix
 public static string ExecuteLocalSearchRestarts(IndexArgumentSetup setup, string nick, int neighbors)
 {
     var idxname = String.Format ("{0}/Index.LocalSearchRestarts.neighbors={1}", nick, neighbors);
     return Execute (setup, nick, idxname, (db) => {
         var IDX = new LocalSearchRestarts ();
         IDX.Build (db, neighbors);
         return IDX;
     });
 }