public QuantumAtamata(int r0, int m0, int k0) : base(r0, m0, k0) { Object o = new Object(); lock (o) { for (int i = 0; i < 3; i++) { BitState[i] = new Bit(); ThreeSet[i] = new LearningKrinskyAtamata(r0, m0, k0); } States.Clear(); r = r0; m = m0; k = k0; FirstProbibility = new double[r]; SecondProbibility = new double[r]; ThirdProbibility = new double[r]; } }
public NetworkQuantumLearningKrinskyAtamata(int r0, int m0, int k0) : base(r0, m0, k0) { Object o = new Object(); lock (o) { Netfi = new LearningKrinskyAtamata[m0, k0]; for (int j = 0; j < m0; j++) { for (int k = 0; k < k0; k++) { Netfi[j, k] = new LearningKrinskyAtamata(r0, m0, k0); } } r = r0; m = m0; k = k0; } }