We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0747b commit 209a624Copy full SHA for 209a624
src/internal_scc.rs
@@ -35,6 +35,7 @@ struct _Edge {
35
/// Reference:
36
/// R. Tarjan,
37
/// Depth-First Search and Linear Graph Algorithms
38
+#[derive(Default)]
39
pub struct SccGraph {
40
n: usize,
41
edges: Vec<(usize, _Edge)>,
src/twosat.rs
@@ -1,5 +1,6 @@
1
use crate::internal_scc;
2
3
4
pub struct TwoSat {
5
6
scc: internal_scc::SccGraph,
0 commit comments