| carl
    25.04
    Computer ARithmetic Library | 
Parser for the DIMACS format. More...
#include <DIMACSImporter.h>

| Public Member Functions | |
| DIMACSImporter (const std::string &filename) | |
| Load the given file.  More... | |
| bool | hasNext () const | 
| Checks if there is another formula to parse.  More... | |
| Formula< Pol > | next () | 
| Parses and returns the next formula (until the next reset line).  More... | |
| Private Member Functions | |
| Formula< Pol > | parseLine (const std::string &line) const | 
| Formula< Pol > | parseFormula () | 
| Private Attributes | |
| std::ifstream | in | 
| std::vector< Formula< Pol > > | variables | 
| std::regex | headerRegex | 
Parser for the DIMACS format.
Allows for solving multiple formulas from one file by adding lines that only contain "reset".
Definition at line 20 of file DIMACSImporter.h.
| 
 | inline | 
Load the given file.
Definition at line 69 of file DIMACSImporter.h.
| 
 | inline | 
Checks if there is another formula to parse.
Definition at line 75 of file DIMACSImporter.h.
| 
 | inline | 
Parses and returns the next formula (until the next reset line).
Definition at line 80 of file DIMACSImporter.h.

| 
 | inlineprivate | 
Definition at line 42 of file DIMACSImporter.h.


| 
 | inlineprivate | 
Definition at line 26 of file DIMACSImporter.h.


| 
 | private | 
Definition at line 24 of file DIMACSImporter.h.
| 
 | private | 
Definition at line 22 of file DIMACSImporter.h.
| 
 | private | 
Definition at line 23 of file DIMACSImporter.h.