private void MaxFlowButton_Click(object sender, RoutedEventArgs e) { MessageBox.Show("Do Not Close The Window Of Solution to solve Many Graph"); max = new MaxFlow(VerticsNum, graph_matrix); maxFlowform = new MaxFlowViewer(max); printGraph(max.basicGraph, max.numberOfVertics, maxFlowform); }
public MaxFlowViewer(MaxFlow max) { InitializeComponent(); augmentedPath = true; residualGraph = false; final = false; this.maxFlow = new MaxFlow(max.numberOfVertics, max.basicGraph); }