You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/TestHNSW/HNSWDemo/Program.cs

38 lines
898 B

using HNSWDemo.Tests;
using System;
using System.IO;
using ZeroLevel.HNSW;
namespace HNSWDemo
{
class Program
{
static void Main(string[] args)
{
new LALTest().Run();
// new AutoClusteringMNISTTest().Run();
// new AccuracityTest().Run();
Console.WriteLine("Completed");
Console.ReadKey();
}
static int GetC(string file)
{
var name = Path.GetFileNameWithoutExtension(file);
var index = name.IndexOf("_M");
if (index > 0)
{
index = name.IndexOf("_", index + 2);
if (index > 0)
{
var num = name.Substring(index + 1, name.Length - index - 1);
return int.Parse(num);
}
}
return -1;
}
}
}

Powered by TurnKey Linux.