Inheritance diagram for RandomGraphs::PowerLawRandomGraph:
Public Member Functions | |
def | __init__ |
Constructs an empty graph. | |
def | setProbs |
Sets the probability with which quadrants in an adjacency matrix are chosen. | |
def | generate |
Generates a the graph. | |
def | populate |
Populate graph with edges generated after a call to PowerLawRandomGraph::generate. | |
def | writeEdges |
Write edges to file. | |
Public Attributes | |
graphSize | |
Number of vertices to be considered for generation. | |
noOfEdges | |
Number of edges to generate. | |
probA | |
Parameters of the RMAT algorithm. Probability of choosing quadrant A. | |
probB | |
Probability of choosing quadrant B. | |
probC | |
Probability of choosing quadrant C. | |
probD | |
Probability of choosing quadrant D. | |
serialEdgeList | |
Temporary storage of edges. | |
debug | |
Debug flag. | |
startVertX | |
endVertX | |
startVertY | |
endVertY |
|
Constructs an empty graph.
|
|
Generates a the graph. Heart of web graph generation algorithm. Each thread gets an equal number of nodes to generate.
|
|
Populate graph with edges generated after a call to PowerLawRandomGraph::generate. You should call this method before you can use any of the non-overridden method in Graph::NumberedEdgeGraph |
|
Sets the probability with which quadrants in an adjacency matrix are chosen.
|
|
Write edges to file.
Reimplemented from Graph::NumberedEdgeGraph. |
|
Parameters of the RMAT algorithm. Probability of choosing quadrant A. Decide the probability with which quadrants in an adjacency matrix are chosen
|
|
Temporary storage of edges. Maintained for achieving performance |