ApproxIndexes.Indexes.ExecuteApproxGraphIS C# (CSharp) Method

ExecuteApproxGraphIS() public static method

public static ExecuteApproxGraphIS ( IndexArgumentSetup setup, string nick, int neighbors, int restarts ) : string
setup IndexArgumentSetup
nick string
neighbors int
restarts int
return string
        public static string ExecuteApproxGraphIS(IndexArgumentSetup setup, string nick, int neighbors, int restarts)
        {
            var idxname = String.Format ("{0}/Index.ApproxGraphIS.neighbors={1}-restarts={2}", nick, neighbors, restarts);
            return Execute (setup, nick, idxname, (db) => {
                var IDX = new ApproxGraphIS ();
                IDX.Build (db, neighbors, restarts);
                return IDX;
            });
        }