Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
A simple class to manage a set of binary clauses. More...
#include <clause.h>
Public Member Functions | |
BinaryClauseManager ()=default | |
BinaryClauseManager (const BinaryClauseManager &)=delete | |
This type is neither copyable nor movable. | |
BinaryClauseManager & | operator= (const BinaryClauseManager &)=delete |
int | NumClauses () const |
bool | Add (BinaryClause c) |
const std::vector< BinaryClause > & | newly_added () const |
Returns the newly added BinaryClause since the last ClearNewlyAdded() call. | |
void | ClearNewlyAdded () |
|
default |
|
delete |
This type is neither copyable nor movable.
|
inline |
|
inline |
|
inline |
Returns the newly added BinaryClause since the last ClearNewlyAdded() call.
|
inline |
|
delete |