Public Member Functions | Private Member Functions | Private Attributes
Clasp::Test::DefaultMinimizeTest Class Reference

List of all members.

Public Member Functions

 DefaultMinimizeTest ()
void setUp ()
void tearDown ()
void testAdjust ()
void testAdjustFact ()
void testAssumption ()
void testBacktrackToTrue ()
void testBugAdjustSum ()
void testBugBacktrackFromFalse ()
void testBugBacktrackToTrue ()
void testBugInitOptHierarch ()
void testComputeImplicationLevel ()
void testConflict ()
void testEmpty ()
void testEnumerate ()
void testHierarchical ()
void testHierarchicalSetModel ()
void testInconsistent ()
void testIntegrateBug ()
void testIntegrateOptimum ()
void testIntegrateOptimumConflict ()
void testMergeComplementaryLits ()
void testMergeComplementaryLits2 ()
void testMultiAssignment ()
void testMultiLevelLits ()
void testMultiLevelWeightsAreReused ()
void testNegativeLower ()
void testNegativeLowerInit ()
void testOneLevelLits ()
void testOptimize ()
void testOrder ()
void testPriorityBug ()
void testReasonBug ()
void testReassertAfterBacktrack ()
void testRootLevelMadness ()
void testSetModelMayBacktrackMultiLevels ()
void testSkipLevel ()
void testSmartBacktrack ()
void testStrengthenImplication ()
void testWeightNullBug ()

Private Member Functions

DefaultMinimizebuildAndAttach (MinimizeBuilder &x, MinimizeMode m=MinimizeMode_t::optimize, const wsum_t *b=0, uint32 bs=0)
uint32 countMinLits () const
 CPPUNIT_TEST (testEmpty)
 CPPUNIT_TEST (testOneLevelLits)
 CPPUNIT_TEST (testMultiLevelLits)
 CPPUNIT_TEST (testMultiLevelWeightsAreReused)
 CPPUNIT_TEST (testMergeComplementaryLits)
 CPPUNIT_TEST (testMergeComplementaryLits2)
 CPPUNIT_TEST (testNegativeLowerInit)
 CPPUNIT_TEST (testNegativeLower)
 CPPUNIT_TEST (testOrder)
 CPPUNIT_TEST (testSkipLevel)
 CPPUNIT_TEST (testReassertAfterBacktrack)
 CPPUNIT_TEST (testConflict)
 CPPUNIT_TEST (testOptimize)
 CPPUNIT_TEST (testEnumerate)
 CPPUNIT_TEST (testComputeImplicationLevel)
 CPPUNIT_TEST (testSetModelMayBacktrackMultiLevels)
 CPPUNIT_TEST (testPriorityBug)
 CPPUNIT_TEST (testStrengthenImplication)
 CPPUNIT_TEST (testRootLevelMadness)
 CPPUNIT_TEST (testIntegrateOptimum)
 CPPUNIT_TEST (testIntegrateOptimumConflict)
 CPPUNIT_TEST (testIntegrateBug)
 CPPUNIT_TEST (testReasonBug)
 CPPUNIT_TEST (testSmartBacktrack)
 CPPUNIT_TEST (testBacktrackToTrue)
 CPPUNIT_TEST (testMultiAssignment)
 CPPUNIT_TEST (testBugBacktrackFromFalse)
 CPPUNIT_TEST (testBugBacktrackToTrue)
 CPPUNIT_TEST (testBugInitOptHierarch)
 CPPUNIT_TEST (testBugAdjustSum)
 CPPUNIT_TEST (testWeightNullBug)
 CPPUNIT_TEST (testAdjust)
 CPPUNIT_TEST (testAdjustFact)
 CPPUNIT_TEST (testAssumption)
 CPPUNIT_TEST (testHierarchicalSetModel)
 CPPUNIT_TEST (testHierarchical)
 CPPUNIT_TEST (testInconsistent)
 CPPUNIT_TEST_SUITE (DefaultMinimizeTest)
 CPPUNIT_TEST_SUITE_END ()
DefaultMinimizecreateMin (SharedContext &ctx, Solver &s, SharedMinimizeData *data, SolverStrategies::OptStrategy str=SolverStrategies::opt_def)
bool setOptimum (Solver &s, SumVec &vec, bool less)

Private Attributes

Literal a
Literal b
Literal c
SharedContext ctx
Literal d
SharedMinimizeDatadata
Literal e
Literal f
DefaultMinimizenewMin
Literal x
Literal y

Detailed Description

Definition at line 26 of file minimize_test.cpp.


Constructor & Destructor Documentation

Definition at line 70 of file minimize_test.cpp.


Member Function Documentation

Definition at line 991 of file minimize_test.cpp.

uint32 Clasp::Test::DefaultMinimizeTest::countMinLits ( ) const [inline, private]

Definition at line 969 of file minimize_test.cpp.

Definition at line 987 of file minimize_test.cpp.

bool Clasp::Test::DefaultMinimizeTest::setOptimum ( Solver s,
SumVec vec,
bool  less 
) [inline, private]

Definition at line 976 of file minimize_test.cpp.

Definition at line 81 of file minimize_test.cpp.

Definition at line 82 of file minimize_test.cpp.

Definition at line 837 of file minimize_test.cpp.

Definition at line 855 of file minimize_test.cpp.

Definition at line 875 of file minimize_test.cpp.

Definition at line 666 of file minimize_test.cpp.

Definition at line 802 of file minimize_test.cpp.

Definition at line 709 of file minimize_test.cpp.

Definition at line 751 of file minimize_test.cpp.

Definition at line 780 of file minimize_test.cpp.

Definition at line 410 of file minimize_test.cpp.

Definition at line 326 of file minimize_test.cpp.

Definition at line 86 of file minimize_test.cpp.

Definition at line 380 of file minimize_test.cpp.

Definition at line 932 of file minimize_test.cpp.

Definition at line 903 of file minimize_test.cpp.

Definition at line 956 of file minimize_test.cpp.

Definition at line 604 of file minimize_test.cpp.

Definition at line 548 of file minimize_test.cpp.

Definition at line 572 of file minimize_test.cpp.

Definition at line 182 of file minimize_test.cpp.

Definition at line 204 of file minimize_test.cpp.

Definition at line 682 of file minimize_test.cpp.

Definition at line 118 of file minimize_test.cpp.

Definition at line 158 of file minimize_test.cpp.

Definition at line 230 of file minimize_test.cpp.

Definition at line 217 of file minimize_test.cpp.

Definition at line 92 of file minimize_test.cpp.

Definition at line 359 of file minimize_test.cpp.

Definition at line 258 of file minimize_test.cpp.

Definition at line 451 of file minimize_test.cpp.

Definition at line 620 of file minimize_test.cpp.

Definition at line 306 of file minimize_test.cpp.

Definition at line 511 of file minimize_test.cpp.

Definition at line 438 of file minimize_test.cpp.

Definition at line 279 of file minimize_test.cpp.

Definition at line 648 of file minimize_test.cpp.

Definition at line 483 of file minimize_test.cpp.

Definition at line 824 of file minimize_test.cpp.


Member Data Documentation

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 999 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1001 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1000 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.

Definition at line 1002 of file minimize_test.cpp.


The documentation for this class was generated from the following file:


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:41