Esempio n. 1
0
 private void ValidateHopfield(HopfieldNetwork network)
 {
     Assert.AreEqual(4, network.NeuronCount);
     Assert.AreEqual(4, network.CurrentState.Count);
     Assert.AreEqual(16, network.Weights.Length);
     Assert.AreEqual(1.0, network.GetWeight(1, 1));
 }