Example #1
0
 public NNet(GoShape boardshape) : base()
 {
     this.boardshape = boardshape;
     layers          = new Layer[layerSizes.Length];
     for (int layer = 0; layer < layers.Length; layer++)
     {
         layers[layer] = new Layer(
             layer == 0 ? boardshape : new GoShape(layerSizes[layer - 1]),
             new GoShape(layerSizes[layer])
             );
     }
 }
Example #2
0
 public GoPosition(int onedim, GoShape shape) : base(onedim, shape)
 {
 }
Example #3
0
 public Go(GoShape dimensions) : base(dimensions)
 {
     Reset();
 }