-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbfs.cuh
65 lines (47 loc) · 1.16 KB
/
bfs.cuh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#pragma once
#include <iostream>
#include "functions_library.cuh"
#include "parameter_load.h"
#include <cstdlib>
#include <curand.h>
#include <curand_kernel.h>
#include "cuda_runtime.h"
#include "device_launch_parameters.h"
#include <thrust/system_error.h>
#include <thrust/system/cuda/error.h>
#include <sstream>
#include <algorithm>
#include <random>
#include <chrono>
#include <iomanip>
#include <string>
#include <map>
#include <string>
#include <vector>
#include <queue>
#include <thread>
#include <mutex>
#include <shared_mutex>
using namespace std;
class bfs
{
private:
string output_Folder_location;
string intermediate_Folder_location;
string pedigree_Folder_location;
string print_Sequences = "NO";
// string current_node_ID = "";
vector<string> tissue_Names;
int generation = -1;
vector<string> search_sequence_IDs;
vector<pair<int, string>> node_Indexes;
string node_main_Index = "";
int tissue_main_Index = -1;
int re_tar_sequence_Folder;
int re_tar_Tissue_folder;
int re_tar_Generation;
public:
bfs(string parameter_Master_Location);
void ingress();
int check_Tar_Folder(string location);
};