//For chreating child nodes from other nodes public Node(List <Node> input, AbstractDetector detector) { InputNodes = input; Detector = detector; NodeType = NodeType.Detector; Process(); }
public void UpdateNode(AbstractDetector detector, int index) { Nodes[index].SetDetector(detector); Nodes[index].Process(); }
public void AddNode(AbstractDetector detector) { Nodes.Add(new Node(new List <Node> { Nodes.Last() }, detector)); }
public void SetDetector(AbstractDetector detector) { Detector = detector; }