public Group(string name, int numberOfNeuron, Neuron sampleNeuron, IGroupLearningStrategy groupLearningStrategy, ExtraInputPatternDelegate extraInputGenerator = null) { learningStrategy = groupLearningStrategy; AddCopyNeurons(numberOfNeuron, sampleNeuron); getExtraInput = extraInputGenerator; }
public int AddGroup(string groupName, int numberOfNeurons, Neuron sampleNeuron, IGroupLearningStrategy groupLearningStrategy, ExtraInputPatternDelegate extraInputGenerator, int layerIdx) { Group g = new Group(groupName, numberOfNeurons, sampleNeuron, groupLearningStrategy, extraInputGenerator); return(AddGroup(g, layerIdx)); }
public void RemoveExtraInputGenerator() { this.getExtraInput = null; }
public void SetExtraInputGenerator(ExtraInputPatternDelegate extraGenerator) { this.getExtraInput = extraGenerator; }