/// <summary> /// Construct a level comparator for the specified structure. /// </summary> /// <param name="structure">The structure of the neural network to compare.</param> public LayerComparator(NeuralStructure structure) { this.structure = structure; this.depth = new CalculateDepth(structure.Network); this.inputLayer = this.structure.Network.GetLayer( BasicNetwork.TAG_INPUT); this.outputLayer = this.structure.Network.GetLayer( BasicNetwork.TAG_OUTPUT); }
/// <summary> /// Construct an empty neural network. /// </summary> /// public BasicNetwork() { _structure = new NeuralStructure(this); }
/// <summary> /// Construct a basic network with the specified logic. /// </summary> /// <param name="logic">The logic to use with this network.</param> public BasicNetwork(INeuralLogic logic) { this.structure = new NeuralStructure(this); this.logic = logic; }
/// <summary> /// Construct an empty neural network. /// </summary> public BasicNetwork() { this.structure = new NeuralStructure(this); this.logic = new SimpleRecurrentLogic(); }
/// <summary> /// Construct a layer comparator. /// </summary> /// <param name="structure">The structure of the network to use.</param> public SynapseComparator(NeuralStructure structure) { this.layerCompare = new LayerComparator(structure); }