Public Member Functions | |
String | toString () |
WeightedClause (Formula f, double weight, boolean hard) throws Exception | |
Public Attributes | |
boolean | isHard |
double | weight |
represents a weighted clause
Definition at line 12 of file WeightedClause.java.
edu::tum::cs::logic::sat::weighted::WeightedClause::WeightedClause | ( | Formula | f, | |
double | weight, | |||
boolean | hard | |||
) | throws Exception [inline] |
Constructor to instantiate a weighted clause
f | ||
weight | ||
hard |
java.lang.Exception |
Definition at line 27 of file WeightedClause.java.
String edu::tum::cs::logic::sat::weighted::WeightedClause::toString | ( | ) | [inline] |
Reimplemented from edu::tum::cs::logic::sat::Clause.
Definition at line 33 of file WeightedClause.java.
whether the clause is to be considered a hard constraint
Definition at line 18 of file WeightedClause.java.
Definition at line 14 of file WeightedClause.java.