示例#1
0
 public void bot_init(weights w = null, int nextcnt = 3)
 {
     init();
     if (w == null)
     {
         bot = new Juraknifecore();
     }
     else
     {
         bot = new Juraknifecore(w);
     }
     //Minorule = new mino_gene();
     bot.init();
     for (int i = 0; i < nextcnt; ++i)
     {
         int next = Minorule.genebag7int();
         bot.add_next(next);
         Board.add_next_piece(next);
     }
     bot.extend_node();
 }
示例#2
0
 public eval()
 {
     W = new weights();
 }
示例#3
0
 public Juraknifecore(weights Weights)
 {
     evalweight = new eval(Weights);
 }
示例#4
0
 public eval(weights Weights)
 {
     W = Weights;
 }