コード例 #1
0
 public BrainToMalmoController(IBlackBox givenBrain, ProgramMalmo givenMalmo)
 {
     programMalmo = givenMalmo;
     SetDotAsDecimalSeparator();
     brain = givenBrain;
     programMalmo.ObservationsEvent += new EventHandler <ObservationEventArgs>(WhenObservationsEvent);
 }
コード例 #2
0
 public MazeControllerWithDiagonals(IBlackBox givenBrain, ProgramMalmo givenMalmo)
 {
     programMalmo = givenMalmo;
     SetDotAsDecimalSeparator();
     brain = givenBrain;
     programMalmo.ObservationsEvent += new EventHandler <ObservationEventArgs>(WhenObservationsEvent);
     programMalmo.ResetNetworkEvent += new EventHandler <ObservationEventArgs>(OnResetEvent);
     neighbourTiles = new ManyTiles();
 }