ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
CaDiCaL::Parser Class Reference

#include <parse.hpp>

Public Member Functions

 Parser (Solver *s, File *f, bool *i, vector< int > *c)
 
const char * parse_dimacs (int &vars, int strict)
 
const char * parse_solution ()
 

Detailed Description

Definition at line 19 of file parse.hpp.

Constructor & Destructor Documentation

◆ Parser()

CaDiCaL::Parser::Parser ( Solver * s,
File * f,
bool * i,
vector< int > * c )
inline

Definition at line 48 of file parse.hpp.

49 : solver (s), internal (s->internal), external (s->external),
50 file (f), parse_inccnf_too (i), cubes (c) {}

Member Function Documentation

◆ parse_dimacs()

const char * CaDiCaL::Parser::parse_dimacs ( int & vars,
int strict )

Definition at line 425 of file cadical_parse.cpp.

425 {
426 CADICAL_assert (strict == FORCED || strict == RELAXED || strict == STRICT);
427 START (parse);
428 const char *err = parse_dimacs_non_profiled (vars, strict);
429 STOP (parse);
430 return err;
431}
#define CADICAL_assert(ignore)
Definition global.h:14
#define STOP(P)
Definition profile.hpp:158
#define START(P)
Definition profile.hpp:150

◆ parse_solution()

const char * CaDiCaL::Parser::parse_solution ( )

Definition at line 433 of file cadical_parse.cpp.

433 {
434 START (parse);
435 const char *err = parse_solution_non_profiled ();
436 STOP (parse);
437 return err;
438}

The documentation for this class was generated from the following files: