Skip to main content

model_penalty

Function model_penalty 

Source
pub fn model_penalty(atoms: &[u64], model: u64, weak: &[WeakConstraint]) -> i64
Expand description

Total penalty of model under weak: the sum of weights of the weak constraints whose body holds in the model.