You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
271 B
C++

#pragma once
#include "cnf.hpp"
class KCNF : public CNF {
public:
long k = 0;
static KCNF generate_random(long n, long c, long k);
bool write_dimacs(const std::string& filename) const override;
static KCNF read_dimacs(const std::string& filename);
};