Example #1
0
 public IEnumerable <NeuralGene> GetGenesOutOfNeuron(InnovationNumber target)
 {
     return(NeuralGenes.Where(x => x.Synapse.incoming == target));
 }
Example #2
0
 public IEnumerable <NeuralGene> GetGenesToNeuron(InnovationNumber target)
 {
     return(NeuralGenes.Where(x => x.Synapse.outgoing == target));
 }