Public Member Functions
|Allows connectivity through nodes of the given type. |
|Allows connectivity through all node types of the graph. |
|Runs the algorithm in order to find the connected components. |
|Set which nodes can't be used. |
|Gets if CommunityDetection has been closed or not. |
|Set which edges can't be used. |
|Closes the CommunityDetection instance. |
Any class implementing this abstract class can be used to solve a problem related to graph connectivity as finding the strongly connected components, finding the weakly connected components.
Check out the 'Algorithms' section in the SPARKSEE User Manual for more details on this.
Set which nodes can't be used.
This will replace any previously specified set of excluded nodes. Should only be used to exclude the usage of specific nodes from allowed node types because it's less efficient than not allowing a node type.
|nodes||[in] A set of node identifiers that must be kept intact until the destruction of the class.|
Set which edges can't be used.
This will replace any previously specified set of excluded edges. Should only be used to exclude the usage of specific edges from allowed edge types because it's less efficient than not allowing an edge type.
|edges||[in] A set of edge identifiers that must be kept intact until the destruction of the class.|
Closes the CommunityDetection instance.
It must be called to ensure the integrity of all data.