Public Member Functions | |
def | __init__ |
Constructs a selector thread. | |
def | selectVertex |
Selects start and end vertices recursively. | |
def | run |
Start the thread. | |
Public Attributes | |
startVertX | |
endVertX | |
startVertY | |
endVertY | |
noOfEdges | |
probA | |
probB | |
probC | |
probD | |
debug | |
noSelfLoops | |
id | |
Thread ID. | |
Static Public Attributes | |
list | serialEdgeList = [] |
Common serial edge list. | |
tuple | lck = threading.Lock() |
Lock that a thread acquires for performing a semaphoric operation. | |
tuple | evnt = threading.Event() |
int | id = 0 |
Thread ID. |
def pygel::RandomGraphs::ChooseEdges::ChooseEdges::__init__ | ( | self, | ||
noOfEdges, | ||||
noSelfLoops, | ||||
startVertX, | ||||
endVertX, | ||||
startVertY, | ||||
endVertY, | ||||
probA, | ||||
probB, | ||||
probC, | ||||
probD | ||||
) |
Constructs a selector thread.
def pygel::RandomGraphs::ChooseEdges::ChooseEdges::selectVertex | ( | self, | ||
sVertX, | ||||
eVertX, | ||||
sVertY, | ||||
eVertY, | ||||
cumulativeA, | ||||
cumulativeB, | ||||
cumulativeC | ||||
) |
Selects start and end vertices recursively.
sVertX | Starting column of the adjacency matrix | |
eVertX | Ending column of the adjacency matrix | |
sVertY | Starting row of the adjacency matrix | |
eVertY | Ending column of the adjacency matrix | |
cumulativeA | Cumulative distribution | |
cumulativeB | Cumulative distribution | |
cumulativeC | Cumulative distribution |
list pygel::RandomGraphs::ChooseEdges::ChooseEdges::serialEdgeList = [] [static] |
Common serial edge list.
Updated by each thread in a semaphoric operation