コード例 #1
0
        private void buildOutPutPoint(coordinates column, neuronDirection direction, Int16 layer)
        {
            coordinates freeLocation = getClosestFreeSpace(column, layer);

            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronOutput(ref matrix, direction);

            freeLocation = getClosestFreeSpace(column, layer);
            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronPyramidal(ref matrix, direction);

            freeLocation = getClosestFreeSpace(column, layer);
            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronTransfer(ref matrix, direction);
        }
コード例 #2
0
        private void buildProcessingNeuron(coordinates column, neuronDirection direction, Int16 layer)
        {
            coordinates freeLocation = getClosestFreeSpace(column, layer);

            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronExitor(direction, ref matrix);

            freeLocation = getClosestFreeSpace(freeLocation, layer);
            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronInhibitor(direction, ref matrix);

            freeLocation = getClosestFreeSpace(freeLocation, layer);
            matrix.mainMatrix[freeLocation.y].neuronLayer[freeLocation.x][freeLocation.z][freeLocation.t] = new Neurons.NeuronExitor(direction, ref matrix);
        }
コード例 #3
0
 public NeuronInput(ref Matrix _matrix, neuronDirection nd) : base(ref _matrix, nd)
 {
     matrix     = _matrix;
     Ndirection = nd;
 }
コード例 #4
0
 public NeuronInhibitor(neuronDirection nd, ref Matrix _matrix) : base(nd, ref _matrix)
 {
     this.Ndirection = nd;
 }
コード例 #5
0
 public NeuronBase(neuronDirection nd, ref Matrix _matrix)
 {
     matrix     = _matrix;
     Ndirection = nd;
 }
コード例 #6
0
 public NeuronPyramidal(ref Matrix _matrix, neuronDirection nd) : base(ref _matrix, nd)
 {
     matrix     = _matrix;
     Ndirection = nd;
 }
コード例 #7
0
ファイル: NeuronTransfer.cs プロジェクト: NicQb1/Jarvis
 public NeuronTransfer(ref Matrix _matrix, neuronDirection nd) : base(ref _matrix, nd)
 {
     matrix     = _matrix;
     Ndirection = nd;
 }