Comments (2)
Yes, GenRewire() has a 2 hour limit. This limit should be restarted for each new call to GenRewire(). The code below, a simplified version of your example, is able to replicate your problem. The timer switches between iterations 83-84 and 254-255. We will investigate the problem.
import snap
def rewire(G_in):
G = G_in.ConvertGraph(snap.TUNGraph)
G_rewire = snap.GenRewire(G,1000)
return G_rewire
G_in = snap.GenFull(snap.TNGraph, 572)
for i in range(500):
G_rewired = rewire(G_in)
print(i, G_rewired.GetNodes(), G_rewired.GetEdges())
from snap-python.
There was a problem with the timer overflow for long running processes. This has been fixed in the C++ code. The fix will be available in our next update, which we plan to release in a few weeks.
from snap-python.
Related Issues (20)
- GetStrVal() Not Working on PTable instance HOT 1
- ToNetwork Only Accepting One Invocation
- Feature Request -- Support for Reading and Writing Weighted Edge Lists
- SaveSS(OutFNm) -- SegFault HOT 1
- AttributeError: module 'snap' has no attribute 'TIntStrStrTrV' in TMMnet Sample Code
- Installation procedure for MacOS 10.15
- Snap not reachable from Anaconda Python 3.8.5
- question on betweenness centrality calculation
- TStrIntSH is not iterable
- Segmentation fault upon import HOT 1
- How to install snap for arm architecture on Ubuntu 18 HOT 2
- GetStrVal and Methods
- SNAP TTable LoadSS Adding Extra Row
- TCliqueOverlap_GetCPMCommunities is not supported
- Does it support ARM architecture? HOT 2
- ت
- Pip install not working HOT 4
- make: *** [swig] Error 2 HOT 3
- pip install no versions + make failing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snap-python.