public NeuralNetworkBuilder(ConnectionProperties connectionProperties, PerceptronProperties perceptronProperties, AcceptanceMatcher acceptanceMatcher) { _layerDictionary = new LayerDictionary(); _acceptanceMatcher = acceptanceMatcher; _layerProperties = new LayerProperties { ConnectionProperties = connectionProperties, PerceptronProperties = perceptronProperties }; }
public Layer(LayerProperties layerProperties) { Connections = ConnectionListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.RightPerceptrons, layerProperties.ConnectionProperties); Perceptrons = PerceptronListBuilder.Build(layerProperties.LeftPerceptrons, layerProperties.PerceptronProperties); }