pygel::RandomGraphs::ChooseEdges::ChooseEdges Class Reference
[Random Graphs]

List of all members.

Detailed Description

Thread for selecting a set of edges.


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
 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.


Member Function Documentation

def pygel::RandomGraphs::ChooseEdges::ChooseEdges::__init__   self,
  noOfEdges,
  startVertX,
  endVertX,
  startVertY,
  endVertY,
  probA,
  probB,
  probC,
  probD
 

Constructs a selector thread.

See also:
RandomGraphs::PowerLawRandomGraph

def pygel::RandomGraphs::ChooseEdges::ChooseEdges::selectVertex   self,
  sVertX,
  eVertX,
  sVertY,
  eVertY,
  cumulativeA,
  cumulativeB,
  cumulativeC
 

Selects start and end vertices recursively.

Parameters:
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
Returns:
Selected vertices


Member Data Documentation

pygel::RandomGraphs::ChooseEdges::ChooseEdges::endVertX
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::endVertY
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::noOfEdges
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::probA
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::probB
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::probC
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::probD
 

See also:
RandomGraphs::PowerLawRandomGraph

list pygel::RandomGraphs::ChooseEdges::ChooseEdges::serialEdgeList = [] [static]
 

Common serial edge list.

Updated by each thread in a semaphoric operation

pygel::RandomGraphs::ChooseEdges::ChooseEdges::startVertX
 

See also:
RandomGraphs::PowerLawRandomGraph

pygel::RandomGraphs::ChooseEdges::ChooseEdges::startVertY
 

See also:
RandomGraphs::PowerLawRandomGraph


Generated on Wed Aug 1 14:12:28 2007 for Python Webgraph Generator by  doxygen 1.4.6