C# Class CodeJam.Utils.graph.GraphUndirectedLinkedList

Afficher le fichier Open project: eric7237cire/CodeJam

Méthodes publiques

Méthode Description
GetNode ( int u, int v ) : LinkedListNode
GraphUndirectedLinkedList ( int maxNodes ) : CodeJam.Utils.tree
addConnection ( int u, int v ) : void

Add directed edge u-v

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

Remove directed edge u->v

Method Details

GetNode() public méthode

public GetNode ( int u, int v ) : LinkedListNode
u int
v int
Résultat LinkedListNode

GraphUndirectedLinkedList() public méthode

public GraphUndirectedLinkedList ( int maxNodes ) : CodeJam.Utils.tree
maxNodes int
Résultat CodeJam.Utils.tree

addConnection() public méthode

Add directed edge u-v
public addConnection ( int u, int v ) : void
u int
v int
Résultat void

getOutboundConnected() public méthode

public getOutboundConnected ( int node ) : LinkedList
node int
Résultat LinkedList

removeConnection() public méthode

Remove directed edge u->v
public removeConnection ( int u, int v ) : void
u int
v int
Résultat void