carl
24.04
Computer ARithmetic Library
|
Write formulas to the DIMAS format. More...
#include <DIMACSExporter.h>
Public Member Functions | |
bool | operator() (const Formula< Pol > &formula) |
void | clear () |
Private Member Functions | |
std::size_t | id (carl::Variable::Arg v) |
long long | getLiteral (const Formula< Pol > &f) |
bool | addDisjunction (const Formula< Pol > &f) |
Private Attributes | |
std::map< carl::Variable, std::size_t > | mVariables |
std::vector< std::vector< long long > > | mClauses |
Friends | |
template<typename P > | |
std::ostream & | operator<< (std::ostream &os, const DIMACSExporter< P > &de) |
Write formulas to the DIMAS format.
Definition at line 19 of file DIMACSExporter.h.
|
inlineprivate |
Definition at line 43 of file DIMACSExporter.h.
|
inline |
Definition at line 92 of file DIMACSExporter.h.
|
inlineprivate |
Definition at line 32 of file DIMACSExporter.h.
|
inlineprivate |
|
inline |
|
friend |
Definition at line 97 of file DIMACSExporter.h.
|
private |
Definition at line 22 of file DIMACSExporter.h.
|
private |
Definition at line 21 of file DIMACSExporter.h.