예제 #1
0
        public void OnTaskChanged(INetworkTask task)
        {
            var controls = NeuronsHolder.Children.OfType <InputNeuronControl>().ToList();

            controls.ForEach(c => NeuronsHolder.Children.Remove(c));

            if (task != null)
            {
                Range.For(task.GetInputCount(), n => NeuronsHolder.Children.Insert(0, AddNeuron()));
            }
        }
예제 #2
0
 public void RearrangeWithNewPointsCount()
 {
     Data = null;
     Rearrange(Task.GetInputCount());
 }