Skip to content

Commit

Permalink
Removed unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoulLuque committed May 26, 2024
1 parent b8a30b4 commit 92dcf32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion treewidth_heuristic/src/compute_treewidth_upper_bound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{
};

use crate::*;
use itertools::Itertools;
use petgraph::{graph::NodeIndex, Graph, Undirected};

#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
Expand Down
10 changes: 3 additions & 7 deletions treewidth_heuristic/src/maximum_minimum_degree_heuristic.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
use std::{collections::HashSet, hash::Hash};
use std::collections::HashSet;

use itertools::{min, Itertools};
use petgraph::{
graph::NodeIndex,
visit::{GetAdjacencyMatrix, IntoNeighbors, IntoNodeIdentifiers},
Graph, Undirected,
};
use itertools::Itertools;
use petgraph::{graph::NodeIndex, visit::IntoNodeIdentifiers, Graph, Undirected};

/// Computes the contraction degeneracy of the given graph according to https://link.springer.com/chapter/10.1007/978-3-540-30140-0_56 (see MMD+: least-c)
pub fn maximum_minimum_degree_plus<N: Clone + Default, E: Clone + Default>(
Expand Down

0 comments on commit 92dcf32

Please sign in to comment.