/// <summary> /// Button event used to pick a heuristic decompostition /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonHeuristic_Click(object sender, RoutedEventArgs e) { this.algorithm = new Stinson(); startDecompostion(); }
/// <summary> /// Button event used to pick a construction decompostiton /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonConstruction_Click(object sender, RoutedEventArgs e) { switch (GraphUtils.ChooseConstruction(this.numVertex)) { case ConstructionType.Bose: this.algorithm = new Bose(); break; case ConstructionType.Skolem: this.algorithm = new Skolem(); break; case ConstructionType.None: return; default: break; } startDecompostion(); }