Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class BinaryClauseManager
Note: This documentation is automatically generated.
A simple class to manage a set of binary clauses.
Method |
Add | Return type: bool Arguments: BinaryClause c Adds a new binary clause to the manager and returns true if it wasn't
already present.
|
BinaryClauseManager | |
ClearNewlyAdded | Return type: void |
newly_added | Return type: const std::vector<BinaryClause>& Returns the newly added BinaryClause since the last ClearNewlyAdded() call.
|
NumClauses | Return type: int |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `BinaryClauseManager` class manages a set of binary clauses. Key actions include: `Add`, which adds a new binary clause and returns `true` if unique; `ClearNewlyAdded`, which resets the list of recently added clauses; and `newly_added`, which returns a list of these newly added clauses. `NumClauses` returns the number of clauses. The `BinaryClauseManager` constructor is also present.\n"],null,[]]