void Start() { QLearning robot = new QLearning(); robot.CreateMap(10, 10, 0, 0, 9, 9); robot.Loop(6381, true); }
// Use this for initialization void Start() { QLearning qlSearch = new QLearning(); QLearning qlDeliver = new QLearning(); qlSearch.CreateMap(10, 10, 0, 0, 9, 9); qlDeliver.CreateMap(10, 10, 9, 9, 0, 0); qlSearch.Loop(4572, true); qlDeliver.Loop(4572, true); GetComponent <Map>().CreateMap(qlSearch, qlDeliver); }