예제 #1
0
        public void SetUp()
        {
            this._parser = new NeuralNetworkFileParser();

            this._network = this._parser.CreateNetwork("Configuration_AND.txt", "sigmoid", InputsCount);
            this._network_AND_00 = this._parser.CreateNetwork("Configuration_AND.txt", "linear", Inputs_AND_Count);
            this._network_AND_01 = this._parser.CreateNetwork("Configuration_AND.txt", "linear", Inputs_AND_Count);
            this._network_AND_10 = this._parser.CreateNetwork("Configuration_AND.txt", "linear", Inputs_AND_Count);
            this._network_AND_11 = this._parser.CreateNetwork("Configuration_AND.txt", "linear", Inputs_AND_Count);
            this._network_Threshold_AND_11 = this._parser.CreateNetwork("Configuration_AND_threshold.txt","threshold",Inputs_AND_Count - 1);
            this._network_Threshold_AND_10 = this._parser.CreateNetwork("Configuration_AND_threshold.txt","threshold",Inputs_AND_Count - 1);
            this._network_Threshold_AND_08 = this._parser.CreateNetwork("Configuration_AND_threshold.txt", "threshold", Inputs_AND_Count - 1);
            this._network_Threshold_AND_01 = this._parser.CreateNetwork("Configuration_AND_threshold.txt","threshold",Inputs_AND_Count - 1);
            this._network_Threshold_AND_00 = this._parser.CreateNetwork("Configuration_AND_threshold.txt","threshold",Inputs_AND_Count - 1);
            this._networkXOR00 = this._parser.CreateNetwork("Configuration_XOR_threshold.txt","threshold",2);
            this._networkXOR01 = this._parser.CreateNetwork("Configuration_XOR_threshold.txt","threshold",2);
            this._networkXOR10 = this._parser.CreateNetwork("Configuration_XOR_threshold.txt","threshold",2);
            this._networkXOR11 = this._parser.CreateNetwork("Configuration_XOR_threshold.txt","threshold",2);

            this._networkKohonen = this._parser.CreateNetwork("Configuration_Kohonen.txt", "linear",4);
            this._networkKohonen2 = this._parser.CreateNetwork("Configuration_Kohonen2.txt", "linear",9);
            this._networkKohonen3 = this._parser.CreateNetwork("Configuration_Kohonen3.txt", "linear",9);
            this._networkKohonen_parz = this._parser.CreateNetwork("Configuration_Kohonen_parz.txt", "linear",3);
            this._network_parz_BP = this._parser.CreateNetwork("Configuration_Kohonen_parz_BP.txt", "sigmoid",3);
            this._network_XOR_BP = this._parser.CreateNetwork("Configuration_Kohonen_XOR_BP.txt", "sigmoid",2);
            this._network_ikonki_BP = this._parser.CreateNetwork("Configuration_ikonki_BP.txt", "sigmoid",9);
        }
예제 #2
0
 public Program()
 {
     this._parser = new NeuralNetworkFileParser();
     this._network = this._parser.CreateNetwork(Settings.Default.NeuronsFilePath, Settings.Default.Function, Settings.Default.InputsCount);
 }