コード例 #1
0
        static void Main(string[] args)
        {
            dataReader   d      = new dataReader("KinectDaten_Pascal.csv");
            List <Shape> shapes = d.readData();
            KMclustering k      = new KMclustering(shapes[5], new point(1.0e+17, 1.0e+17), 2, 0.1);

            k.clustering();
            FSM machine = new FSM(k, shapes[5], 3);

            return;
        }
コード例 #2
0
 public FSM(KMclustering cl, Shape s, int k)
 {
     stateList = clusterToState(orderClusters(cl.CLlist, s), k, s);
 }