Свойство | Тип | Описание | |
---|---|---|---|
Connections | List |
||
Elements | List |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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. /// |
Результат | void |
public Cut ( |
||
connection | /// Connected nodes pair. /// | |
Результат | void |
public Cut ( |
||
firstElement | /// First node. /// | |
secondElement | /// Second node. /// | |
Результат | void |
public GraphManager ( List |
||
connections | List |
/// The connections. /// |
elements | List |
/// The elements. /// |
Результат | System.Collections.Generic |
public SearchConnection ( |
||
firstElement | /// First node. /// | |
secondElement | /// Second node. /// | |
Результат | int |