示例#1
0
    public static void TestTagging()
    {
        StopWatch t = new StopWatch("build");

        t.tic();
        Tag[]      tags              = Tag.ExtractFromFile("./testtags/testtag.tg");
        PointCloud points            = PointCloud.FromCsv("./testcsv/rect.csv");
        LatticeStateInitializer init = new LatticeStateInitializer(points, tags, 4, 20, 1.1);

        init.InitializeNodes();
        LatticeState s = init.BuildLatticeState();

        s.WriteToDirectory("./lattice-output-test/bigtest", true);
        t.toc();
        Console.WriteLine("Success");
        Console.WriteLine(t.Result());
    }