Public Types | |
typedef std::pair< uint32, Activity > | ViewPair |
Public Member Functions | |
CmpScore (const ConstraintDB &learnts, ReduceStrategy::Score sc, uint32 g) | |
bool | operator() (uint32 lhsId, uint32 rhsId) const |
bool | operator() (const ViewPair &lhs, const ViewPair &rhs) const |
bool | operator() (Activity lhs, Activity rhs) const |
bool | operator() (const Constraint *lhs, const Constraint *rhs) const |
uint32 | score (const Activity &act) const |
Public Attributes | |
const ConstraintDB & | db |
uint32 | glue |
ReduceStrategy::Score | rs |
Private Member Functions | |
CmpScore & | operator= (const CmpScore &) |
typedef std::pair<uint32, Activity> Clasp::Solver::CmpScore::ViewPair |
Clasp::Solver::CmpScore::CmpScore | ( | const ConstraintDB & | learnts, |
ReduceStrategy::Score | sc, | ||
uint32 | g | ||
) | [inline] |
bool Clasp::Solver::CmpScore::operator() | ( | uint32 | lhsId, |
uint32 | rhsId | ||
) | const [inline] |
bool Clasp::Solver::CmpScore::operator() | ( | const Constraint * | lhs, |
const Constraint * | rhs | ||
) | const [inline] |
uint32 Clasp::Solver::CmpScore::score | ( | const Activity & | act | ) | const [inline] |