//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public static void main(String[] args) throws java.io.IOException
        public static void Main(string[] args)
        {
            GraphmlExport ge = new GraphmlExport(ExampleNetworXOR.Network);

            ge.parse();
            ge.printToStdout();
        }
Exemple #2
0
        /// <summary>
        /// 1. Generate trained artificial neural network.
        /// 2. Create GraphmlExport instance.
        /// 3. Parse the artificial neural network.
        /// 4. Print to STDOUT
        ///
        /// </summary>
        public Example()
        {
            NeuralNetwork ann = ExampleNetworXOR.Network;
            GraphmlExport ge  = new GraphmlExport(ann);

            ge.parse();
            ge.printToStdout();
        }