Encog.Neural.Networks.Structure.NeuralStructure.UpdateProperties C# (CSharp) Method

UpdateProperties() public method

Update any properties from the property map.
public UpdateProperties ( ) : void
return void
        public void UpdateProperties()
        {
            if (_network.Properties.ContainsKey(BasicNetwork.TagLimit))
            {
                _connectionLimit = _network
                    .GetPropertyDouble(BasicNetwork.TagLimit);
                _connectionLimited = true;
            }
            else
            {
                _connectionLimited = false;
                _connectionLimit = 0;
            }

            if (_flat != null)
            {
                _flat.ConnectionLimit = _connectionLimit;
            }
        }
    }