IsParallelFree {rlemon} | R Documentation |
Check if Graph is Parallel Free
Description
Parallel edges occur when there are two edges between a single pair of nodes.
Usage
IsParallelFree(arcSources, arcTargets, numNodes)
Arguments
arcSources |
Vector corresponding to the source nodes of a graph's edges |
arcTargets |
Vector corresponding to the destination nodes of a graph's edges |
numNodes |
The number of nodes in the graph |
Details
See https://lemon.cs.elte.hu/pub/doc/1.3.1/a00616.html#gaa05e0683f90b69f31eb29fe7d09afde4 for more information.
Value
TRUE if the graph is parallel free, FALSE otherwise
[Package rlemon version 0.2.1 Index]