示例#1
0
文件: Program.cs 项目: ronnel132/sim
 static async Task Main(string[] args)
 {
     SimulationProps props = new SimulationProps()
     {
         numBlobs         = 100,
         numFood          = 20,
         percentageGreedy = 0.1,
         blobSensorSize   = 0.05,
         blobStepSize     = 0.05,
     };
     Board b = new Board(props);
     await b.Run(100);
 }
示例#2
0
 public Board(SimulationProps simProps)
 {
     this.simulationActive = false;
     this.simulationProps  = simProps;
 }