Generates a random Forest Fire, directed graph with given probabilities.
Parameters:
Number of nodes in the directed graph,
Forward probability of an edge.
Backward probability of an edge.
Return value:
A Snap.py directed graph generated using the Forest Fire model.
The following example shows how to use GenForestFire():
import snap
Graph = snap.GenForestFire(100, 0.5, 0.5)
for EI in Graph.Edges():
print "edge: (%d, %d)" % (EI.GetSrcNId(), EI.GetDstNId())