Property | Type | Description | |
---|---|---|---|
Connections | List |
||
Elements | List |
Method | Description | |
---|---|---|
Clone ( ) : |
Method creates copy of graph.
|
|
Connect ( int firstIndex, int secondIndex ) : void |
Nodes connection method.
|
|
ConnectGraph ( ) : void |
Method is connecting nodes into "shortest unclosed path" (snp).
|
|
Cut ( |
Removes given connection between given nodes. Also renumbers groups emerging as result of disconnection.
|
|
Cut ( |
Removes connection between given nodes. Also renumbers groups emerging as result of disconnection.
|
|
GetNextTaxonNumber ( ) : int |
Calculates number of new group.
|
|
GraphManager ( List |
Initializes a new instance of the GraphManager class.
|
|
SearchConnection ( |
Searches connection index for pair of nodes.
|
Method | Description | |
---|---|---|
Renumber ( int index, int newNumber ) : void |
Recursive method for renumeration of connected graph nodes.
|
|
SearchConnection ( int index1, int index2 ) : int |
Connection search by nodes indexes.
|
public Connect ( int firstIndex, int secondIndex ) : void | ||
firstIndex | int | /// First node index. /// |
secondIndex | int | /// Second node index. /// |
return | void |
public Cut ( |
||
connection | /// Connected nodes pair. /// | |
return | void |
public Cut ( |
||
firstElement | /// First node. /// | |
secondElement | /// Second node. /// | |
return | void |
public GraphManager ( List |
||
connections | List |
/// The connections. /// |
elements | List |
/// The elements. /// |
return | System.Collections.Generic |
public SearchConnection ( |
||
firstElement | /// First node. /// | |
secondElement | /// Second node. /// | |
return | int |