bigrandomgraphs 0.0.2__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bigrandomgraphs-0.0.4/PKG-INFO +5 -0
- bigrandomgraphs-0.0.4/bigrandomgraphs.egg-info/PKG-INFO +5 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/setup.py +2 -2
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/src/generate_model.cpp +1 -1
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/src/wrapper_bindings.cpp +1 -1
- bigrandomgraphs-0.0.2/PKG-INFO +0 -10
- bigrandomgraphs-0.0.2/bigrandomgraphs.egg-info/PKG-INFO +0 -10
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/CMakeLists.txt +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/README.md +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/bigrandomgraphs.egg-info/SOURCES.txt +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/bigrandomgraphs.egg-info/dependency_links.txt +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/bigrandomgraphs.egg-info/not-zip-safe +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/bigrandomgraphs.egg-info/top_level.txt +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/setup.cfg +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/src/__init__.py +0 -0
- {bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/test.py +0 -0
|
@@ -78,7 +78,7 @@ class CMakeBuild(build_ext):
|
|
|
78
78
|
|
|
79
79
|
setup(
|
|
80
80
|
name='bigrandomgraphs',
|
|
81
|
-
version='0.0.
|
|
81
|
+
version='0.0.4',
|
|
82
82
|
author='Jason P. Smith',
|
|
83
83
|
description='Python package for fast creation of large random graphs',
|
|
84
84
|
ext_modules=[CMakeExtension('bigrandomgraphs')],
|
|
@@ -86,4 +86,4 @@ setup(
|
|
|
86
86
|
packages=['bigrandomgraphs'],
|
|
87
87
|
package_dir={'bigrandomgraphs': './src/'},
|
|
88
88
|
zip_safe=False,
|
|
89
|
-
)
|
|
89
|
+
)
|
|
@@ -75,7 +75,7 @@ std::vector<std::pair<uint64_t,uint64_t>> hash_seeds(uint64_t seed1, uint64_t se
|
|
|
75
75
|
std::hash<std::thread::id> pcg_hasher;
|
|
76
76
|
new_seed2 = 2 * (uint64_t) pcg_hasher(std::this_thread::get_id()) + 1 + i+413;
|
|
77
77
|
} else {
|
|
78
|
-
|
|
78
|
+
new_seed2 = seed2+i*5223;
|
|
79
79
|
}
|
|
80
80
|
the_seeds.push_back(std::make_pair(new_seed1, new_seed2));
|
|
81
81
|
}
|
|
@@ -22,7 +22,7 @@ PYBIND11_MODULE(pybrg, m) {
|
|
|
22
22
|
std::ref(col[index]), new_seeds[index].first, new_seeds[index].second);
|
|
23
23
|
}
|
|
24
24
|
add_edges_ER(threads-1, n, threads, p, std::ref(row[threads-1]),std::ref(col[threads-1]),
|
|
25
|
-
new_seeds[threads-1].first, new_seeds[threads-1].
|
|
25
|
+
new_seeds[threads-1].first, new_seeds[threads-1].second);
|
|
26
26
|
|
|
27
27
|
// Wait until all threads stopped
|
|
28
28
|
for (size_t i = 0; i < threads - 1; ++i) t[i].join();
|
bigrandomgraphs-0.0.2/PKG-INFO
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.0
|
|
2
|
-
Name: bigrandomgraphs
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: Python package for fast creation of large random graphs
|
|
5
|
-
Home-page: UNKNOWN
|
|
6
|
-
Author: Jason P. Smith
|
|
7
|
-
Author-email: UNKNOWN
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Description: UNKNOWN
|
|
10
|
-
Platform: UNKNOWN
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.0
|
|
2
|
-
Name: bigrandomgraphs
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: Python package for fast creation of large random graphs
|
|
5
|
-
Home-page: UNKNOWN
|
|
6
|
-
Author: Jason P. Smith
|
|
7
|
-
Author-email: UNKNOWN
|
|
8
|
-
License: UNKNOWN
|
|
9
|
-
Description: UNKNOWN
|
|
10
|
-
Platform: UNKNOWN
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bigrandomgraphs-0.0.2 → bigrandomgraphs-0.0.4}/bigrandomgraphs.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|