satellite-cdcl

Crates.iosatellite-cdcl
lib.rssatellite-cdcl
version0.1.0
created_at2026-01-18 05:16:24.672759+00
updated_at2026-01-18 05:16:24.672759+00
descriptionCDCL core algorithm for Satellite
homepage
repositoryhttps://github.com/rand0mdevel0per/satellite
max_upload_size
id2051813
size63,418
rand0mdevel0per (rand0mdevel0per)

documentation

README

satellite-cdcl

CDCL (Conflict-Driven Clause Learning) SAT solver implementation.

Features

  • Two-watched literals for efficient BCP
  • VSIDS/LRB heuristics for decision making
  • Clause learning with 1-UIP conflict analysis
  • Restarts with Luby/Glucose strategies
  • UNSAT core extraction

Usage

use satellite_cdcl::{CdclSolver, CdclConfig};

let config = CdclConfig::default();
let mut solver = CdclSolver::new(config);

solver.add_clause(vec![1, 2, -3]);
solver.add_clause(vec![-1, 3]);

match solver.solve() {
    SatResult::Sat(model) => println!("SAT: {:?}", model),
    SatResult::Unsat => println!("UNSAT"),
    SatResult::Unknown => println!("Timeout"),
}

License

MIT

Commit count: 18

cargo fmt