示例#1
0
        public ViewCPageVm(AppVm appModel)
        {
            AppVm = appModel;
            AppVm.OnReportReady.Subscribe(DisplaySim);

            var scse = (SimUtils.SimCliqueSetForEpoch)appModel.Sim;
            var ngM = scse.CliqueNetworkTr.NodeGroups;
            HistogramVm = new Hist1DVm(5);
            ProjectionControlVm = new ProjectionControlVm(Enumerable.Range(0, scse.Memories.ColumnCount));
            InitUi();
        }
示例#2
0
        public ViewHPageVm(AppVm appModel)
        {
            AppVm = appModel;
            AppVm.OnReportReady.Subscribe(DisplaySim);

            var scse = (SimUtils.SimCliqueSetForEpoch)appModel.Sim;
            var ngM = scse.CliqueNetworkTr.NodeGroups;
            HistogramVm = new Hist1DVm(2);
            //MatrixSfVm = new MatrixSfVm(1, ngM.ColumnCount, ngM.RowCount);
            LastRepIteration = 0;
            GraphVm = new GraphVm();
            InitUi();
        }