Пример #1
0
        /// <summary>
        /// Checks all Networks list of connections and ensure the phenotype reflects it.
        /// </summary>
        /// <returns>true if all networks are consistent</returns>
        public bool IsConsistent()
        {
            bool consistent = true;

            foreach (NeuralNetwork NN in Networks)
            {
                if (!NN.IsConsistent())
                {
                    consistent = false;
                }
            }
            return(consistent);
        }