Beispiel #1
0
 public void AddManager(NEATGeneticControllerV2 manager)
 {
     this.manager = manager;
 }
Beispiel #2
0
 /// <summary>
 /// Adds controller and subscribes to an event listener in controller
 /// </summary>
 /// <param name="controller">Controller</param>
 public void SubscriveToEvent(NEATGeneticControllerV2 controller)
 {
     this.controller = controller;
     TestFinished   += controller.OnFinished; //subscrive to an event notification
 }
Beispiel #3
0
    NEATGeneticControllerV2 manager; //manager that controls all

    /// <summary>
    /// Create a species
    /// </summary>
    /// <param name="manager">Main Manager</param>
    public Species(NEATGeneticControllerV2 manager)
    {
        species      = new List <Population>();
        this.manager = manager;
    }