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