示例#1
0
文件: NodeView.cs 项目: pulsence/ENN
        public override BaseMetaDataView GetInformation()
        {
            NodeMetaDataView info = new NodeMetaDataView(ref metaDataPool);

            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
            {
                info.SetFactory(metaData["factory"]);
            }
            if (metaData.ContainsKey("dataType"))
            {
                info.SetDataType(metaData["dataType"]);
            }
            if (metaData.ContainsKey("layer"))
            {
                info.SetLayerName(metaData["layer"]);
            }
            if (metaData.ContainsKey("combinationWeights"))
            {
                info.SetCombinationWeights(metaData["combinationWeights"]);
            }
            info.SetExtraFields(metaData);

            return(info);
        }
示例#2
0
文件: NodeView.cs 项目: pulsence/ENN
        public override BaseMetaDataView GetInformation()
        {
            NodeMetaDataView info = new NodeMetaDataView(ref metaDataPool);
            info.InformationChanged += SetMetaData;

            if (metaData.ContainsKey("factory"))
                info.SetFactory(metaData["factory"]);
            if (metaData.ContainsKey("dataType"))
                info.SetDataType(metaData["dataType"]);
            if (metaData.ContainsKey("layer"))
                info.SetLayerName(metaData["layer"]);
            if (metaData.ContainsKey("combinationWeights"))
                info.SetCombinationWeights(metaData["combinationWeights"]);
            info.SetExtraFields(metaData);

            return info;
        }