//Constructor /// <summary> /// Creates an unitialized instance. /// </summary> /// <param name="groupName">The name of the group.</param> public NeuronGroupStat(string groupName) { GroupName = groupName; NumOfNeurons = 0; Activation = new StandardStatSet(); Stimuli = new StimuliStat(); Synapses = new SynapsesByRoleStat(); Signal = new SignalStat(); NeuronsAnomalies = new NeuronsAnomaliesStat(); return; }
//Constructor /// <summary> /// Creates an initialized instance. /// </summary> /// <param name="poolCfg">The configuration of the pool of neurons.</param> public PoolStat(PoolSettings poolCfg) { PoolName = poolCfg.Name; NumOfNeurons = 0; NeuronGroups = new NeuronGroupStat[poolCfg.NeuronGroupsCfg.GroupCfgCollection.Count]; for (int i = 0; i < poolCfg.NeuronGroupsCfg.GroupCfgCollection.Count; i++) { NeuronGroups[i] = new NeuronGroupStat(poolCfg.NeuronGroupsCfg.GroupCfgCollection[i].Name); } Synapses = new SynapsesByRoleStat(); NeuronsAnomalies = new NeuronsAnomaliesStat(); return; }
//Constructor /// <summary> /// Creates an unitialized instance /// </summary> /// <param name="instanceName">The name of the reservoir instance.</param> /// <param name="structCfg">The name of the reservoir structure configuration.</param> /// <param name="numOfNeurons">The total number of neurons within the reservoir.</param> /// <param name="numOfPredictors">The total number of predictors.</param> public ReservoirStat(string instanceName, ReservoirStructureSettings structCfg, int numOfNeurons, int numOfPredictors ) { InstanceName = instanceName; StructCfgName = structCfg.Name; TotalNumOfNeurons = numOfNeurons; TotalNumOfPredictors = numOfPredictors; Pools = new List <PoolStat>(); foreach (PoolSettings poolCfg in structCfg.PoolsCfg.PoolCfgCollection) { Pools.Add(new PoolStat(poolCfg)); } Synapses = new SynapsesByRoleStat(); NeuronsAnomalies = new NeuronsAnomaliesStat(); return; }