/// <summary> /// 結果セットリストを登録. /// </summary> /// <param name="analyzeResultBase">解析結果.</param> public void SetResult(AnalyzeResultBase analyzeResultBase) { this.Text = analyzeResultBase.GetFactor(); // 結果コントロールに反映. this.ResultListControl.SetResult(analyzeResultBase.ResultSetList); }
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { Groups oGroups; bool rv = tryPartition(graph, bgw, out oGroups); results = oGroups; return rv; }
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { VertexMetricBase oVertexMetricBase; bool rv = tryCalculate(graph, bgw, out oVertexMetricBase); results = oVertexMetricBase; return rv; }
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { OverallMetrics oOverallMetrics; bool rv = TryCalculateGraphMetrics(graph, bgw, out oOverallMetrics); results = oOverallMetrics; return rv; }
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { Dictionary<Int32, Boolean> graphMetrics; EdgeReciprocation oEdgeReciprocation; bool rv = TryCalculateGraphMetrics(graph, m_obackgroundWorker, out graphMetrics); if (rv == true) { oEdgeReciprocation = new EdgeReciprocation(graphMetrics.Count); foreach (KeyValuePair<Int32, Boolean> p in graphMetrics) oEdgeReciprocation.Add(p.Key, p.Value); } else oEdgeReciprocation = new EdgeReciprocation(1); results = oEdgeReciprocation; return rv; }
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { Dictionary<int, OverallMetrics> groupsmetric; GroupsMetric oGroupsMetric; bool rv = TryCalculateGraphMetrics(graph, out groupsmetric); if (rv == true) { oGroupsMetric = new GroupsMetric(groupsmetric.Count); foreach (KeyValuePair<int, OverallMetrics> p in groupsmetric) oGroupsMetric.Add(p.Key, p.Value); } else oGroupsMetric = new GroupsMetric(1); results = oGroupsMetric; return rv; }
/// <summary> /// コンストラクタ. /// </summary> public AnalyzeFactorControl(AnalyzeResultBase analyzeResult) { InitializeComponent(); this.AnalyzeResult = analyzeResult; this.lblFactor.Text = analyzeResult.GetFactor(); this.DetailsText = analyzeResult.GetDetails(); if (this.DetailsText.IsEmpty()) { this.btnDetails.Visible = false; } else { this.toolTipFactor.SetToolTip(this.lblFactor, this.DetailsText); } this.btnShow.Text = "{0}件".Fmt(analyzeResult.ResultSetList.Count); }
public abstract bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results);
public override bool tryAnalyze(IGraph graph, BackgroundWorker bgw, out AnalyzeResultBase results) { throw new NotImplementedException(); }