Skip to content

Commit 48ad4a7

Browse files
committed
Remove prop_assignmentt interface
This interface was just used once.
1 parent 3db0cef commit 48ad4a7

File tree

4 files changed

+3
-49
lines changed

4 files changed

+3
-49
lines changed

Diff for: src/solvers/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ SRC = $(BOOLEFORCE_SRC) \
153153
prop/literal.cpp \
154154
prop/minimize.cpp \
155155
prop/prop.cpp \
156-
prop/prop_assignment.cpp \
157156
prop/prop_conv.cpp \
158157
qbf/qbf_quantor.cpp \
159158
qbf/qbf_qube.cpp \

Diff for: src/solvers/prop/prop.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ Author: Daniel Kroening, [email protected]
1717
#include <util/message.h>
1818
#include <util/threeval.h>
1919

20-
#include "prop_assignment.h"
20+
#include "literal.h"
2121

2222
/*! \brief TO_BE_DOCUMENTED
2323
*/
24-
class propt:public messaget, public prop_assignmentt
24+
class propt:public messaget
2525
{
2626
public:
2727
propt() { }
@@ -96,7 +96,7 @@ class propt:public messaget, public prop_assignmentt
9696
enum class resultt { P_SATISFIABLE, P_UNSATISFIABLE, P_ERROR };
9797
virtual resultt prop_solve()=0;
9898

99-
// satisfying assignment, from prop_assignmentt
99+
// satisfying assignment
100100
virtual tvt l_get(literalt a) const=0;
101101
virtual void set_assignment(literalt a, bool value);
102102
virtual void copy_assignment_from(const propt &prop);

Diff for: src/solvers/prop/prop_assignment.cpp

-14
This file was deleted.

Diff for: src/solvers/prop/prop_assignment.h

-31
This file was deleted.

0 commit comments

Comments
 (0)