Exemplo n.º 1
0
 public GuidanceForceScoreEventArgs(GuidanceForceBase guidanceForce, int refY, int refX, Neuron neuron, double[,] score)
 {
     GuidanceForce = guidanceForce;
     RefY = refY;
     RefX = refX;
     Neuron = neuron;
     Score = score;
 }
 public GuidanceForceScoreEventArgs
     (GuidanceForceBase guidanceForce, int refY, int refX, Neuron neuron, double[,] score)
 {
     GuidanceForce = guidanceForce;
     RefY          = refY;
     RefX          = refX;
     Neuron        = neuron;
     Score         = score;
 }
Exemplo n.º 3
0
        public ViewerGuidanceForce(GuidanceForceBase guidanceForce, int colorIndex)
            : base(guidanceForce.GuidanceForceWidth, guidanceForce.GuidanceForceHeight, true)
        {
            Contract.Requires<ArgumentNullException>(guidanceForce != null);
            Contract.Requires<ArgumentOutOfRangeException>(0 <= colorIndex && colorIndex <= 2);

            _guidanceForce = guidanceForce;
            _colorIndex = colorIndex;

            _guidanceForce.ScoreAvailableEvent += OnGuidanceForceScoreAvailableEvent;
        }