public RLSelector(List <BTTask> tasks) : base(tasks)
 {
     learner = new QLearningBrain();
     for (int i = 0; i < tasks.Count; i++)
     {
         children[i].SetTreeDepth(treeDepth + 1);
     }
 }
            protected bool isInitialised = false; //used when checking if this node's values have been initialised

            //default and parameterised constructors
            public RLSelector()
            {
                learner = new QLearningBrain();
            }