Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <summary>
 /// Construct an empty neural network.
 /// </summary>
 ///
 public BasicNetwork()
 {
     _structure = new NeuralStructure(this);
 }
Esempio n. 3
0
 /// <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;
 }
Esempio n. 4
0
 /// <summary>
 /// Construct an empty neural network.
 /// </summary>
 public BasicNetwork()
 {
     this.structure = new NeuralStructure(this);
     this.logic = new SimpleRecurrentLogic();
 }
Esempio n. 5
0
 /// <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);
 }