C# Class CodeJam.Utils.graph.GraphUndirected

Mostrar archivo Open project: eric7237cire/CodeJam

Public Methods

Method Description
GraphUndirected ( int maxNodes ) : CodeJam.Utils.tree
addConnection ( int u, int v ) : void

Add directed edge u-v

getOutboundConnected ( int node ) : List
removeConnection ( int u, int v ) : void

Remove directed edge u->v

Method Details

GraphUndirected() public method

public GraphUndirected ( int maxNodes ) : CodeJam.Utils.tree
maxNodes int
return CodeJam.Utils.tree

addConnection() public method

Add directed edge u-v
public addConnection ( int u, int v ) : void
u int
v int
return void

getOutboundConnected() public method

public getOutboundConnected ( int node ) : List
node int
return List

removeConnection() public method

Remove directed edge u->v
public removeConnection ( int u, int v ) : void
u int
v int
return void