public RandomNodeMultiple(List<ITreeNode> nodeList, ITreeNode backNode, DecisionTree tree) { this.nodeList = nodeList; rnd = new Random(); permutation = new int[nodeList.Count]; this.tree = tree; this.backNode = backNode; }
public ForBestRoadNode(ITreeNode trueNode, ITreeNode falseNode, DecisionTree tree) : base(trueNode, falseNode, null) { this.tree = tree; }
public FakeActionNode(DelAction action, DecisionTree tree) : base(action, tree) { }
public ActionNode(DelAction action, DecisionTree tree) { this.action = action; this.tree = tree; }
public SerialNode(List<ITreeNode> nodeList, ITreeNode backNode, DecisionTree tree) { this.nodeList = nodeList; this.backNode = backNode; this.tree = tree; }
public void InitAIComponent(IMapController mapController, int [][] koef) { this.mapController = mapController; Fitness.SetMapController(mapController, this); freeTownPlaces = new List<ITown>(); towns = new List<ITown>(); freeRoadPlaces = new List<IRoad>(); freeHexaInTown = 0; sourceNormal = new int[5]; for (int loop1 = 0; loop1 < 5; loop1++) sourceNormal[loop1] = 0; licenceAmount = 0; upgradeAmount = 0; decisionTree = new DecisionTree(mapController, this); }
public ForEachFreeHexInTownNode(ITreeNode trueNode, ITreeNode falseNode, bool sourceBuilding, DecisionTree tree) : base(trueNode, falseNode, null) { this.tree = tree; this.sourceBuilding = sourceBuilding; }
public ForBestFortHexaNeighbourNode(ITreeNode trueNode, ITreeNode falseNode, DecisionTree tree) : base(trueNode, falseNode, null) { this.tree = tree; }