16 lines
311 B
C
16 lines
311 B
C
|
#ifndef MY_UTIL
|
||
|
#define MY_UTIL
|
||
|
|
||
|
#include "../inc/my_structures.h"
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
// util
|
||
|
bool randomize(float prob);
|
||
|
int rand_num(int mod);
|
||
|
vector<string> split(string& s, const char delim[] = ",");
|
||
|
Matrix read_file(const char path[] = "data/adj_matrix.in");
|
||
|
|
||
|
#endif
|