-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
40 lines (23 loc) · 777 Bytes
/
main.h
File metadata and controls
40 lines (23 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// Created by jstigter on 6/10/19.
//
#include <vector>
using namespace std;
#ifndef DIFFERENCE_COVER_MAIN_H
#define DIFFERENCE_COVER_MAIN_H
void updateTest(int num);
int isCover();
void undoTest(int num);
int push(int num);
int pop();
int testSize();
int searchCovers(int localThird, int localdSize, bool perfect);
void startSearch();
void popLayer();
void calcBounds(unsigned long long numNum, unsigned long long &iters, unsigned long long &starting);
unsigned long long gcd(unsigned long long x, unsigned long long y);
unsigned long long nChoosek(unsigned long long n, unsigned long long k);
int generateCover(int localp, int minSize, int stop);
int exhaustiveSearch(int floor, int localp, int localdSize);
bool check();
#endif //DIFFERENCE_COVER_MAIN_H