private void BtnGenGraphGAjacM_Click(object sender, RoutedEventArgs e) { GraphGAjacM = GraphUtils.GenerateRandomDirectedGraph(GAjacM_Name, GAjacM_Points); HtmlDataGAjacM = AjacMNotation.ConvertFromGrapch(GraphGAjacM); HtmlDataGIncidM = IncidMNotation.ConvertFromGrapch(GraphGAjacM); TaskAnswer = GraphUtils.GenerateGraphDescription(GraphGAjacM); }
private void BtnGenGraphGAjacM_Click(object sender, RoutedEventArgs e) { GraphGAjacM = GraphUtils.GenerateRandomDirectedGraph(GAjacM_Name, GAjacM_Points, GAjacM_Edges); HtmlDataGAjacM = AjacMNotation.ConvertFromGrapch(GraphGAjacM); HtmlDataGIncidM = IncidMNotation.ConvertFromGrapch(GraphGAjacM); TaskAnswer.Clear(); TaskAnswer = new ObservableCollection <KeyValuePair <DiscreteMaC_Lib.Graphes.Points.Point, int> >(GraphUtils.GetPointsWithMaxOutDegree(GraphGAjacM)); }