private static void Match() { AddrSet addrset = AddrSet.GetInstance(); //Match MatchMachine m = new MatchMachine(addrset); MatchResult result = m.Match(new string[] { "B" }); MatchHelper.rwLockDashboard(addrset); }
private static void Train() { AddrSet addrset = AddrSet.GetInstance(); TrainMachine t = new TrainMachine(addrset); List <InsertElement> list = new List <InsertElement>(); Random rnd = new Random(); list.Add(new InsertElement(rnd.Next().ToString("0.00"), LEVEL.City, InsertMode.AutoPlace | InsertMode.ExactlyLevel)); t.Train(list, true); MatchHelper.rwLockDashboard(addrset); }