Skip to content

Commit

Permalink
Add support for storing if a node is subsumed (#16)
Browse files Browse the repository at this point in the history
* add support for storing if a node is subsumed

* move subsumed directly to struct
  • Loading branch information
saulshanabrook authored Sep 12, 2024
1 parent 9ce2812 commit 3625e0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ pub struct Node {
pub eclass: ClassId,
#[cfg_attr(feature = "serde", serde(default = "one"))]
pub cost: Cost,
#[cfg_attr(feature = "serde", serde(default))]
pub subsumed: bool,
}

impl Node {
Expand Down

0 comments on commit 3625e0d

Please sign in to comment.