Skip to content

Commit

Permalink
modified: src/cdb/clause.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Oct 2, 2024
1 parent 018504c commit e91e03d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cdb/clause.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ pub struct Clause {
/// the index from which `propagate` starts searching an un-falsified literal.
/// Since it's just a hint, we don't need u32 or usize.
pub search_from: ClauseSize,
/// estimated cost to generate this clause again
pub labor_pain: DecisionLevel,

#[cfg(feature = "boundary_check")]
/// the number of conflicts at which this clause was used in `conflict_analyze`
Expand All @@ -103,6 +105,7 @@ impl Default for Clause {
rank: u32::MAX,
rank_old: u32::MAX,
search_from: 2,
labor_pain: 0,

#[cfg(any(feature = "boundary_check", feature = "clause_rewarding"))]
timestamp: 0,
Expand Down

0 comments on commit e91e03d

Please sign in to comment.