GraphTheory[IncidentEdges]
|
Calling Sequence
|
|
IncidentEdges(G, V, d)
|
|
Parameters
|
|
G
|
-
|
graph or digraph
|
V
|
-
|
vertex or list of vertices
|
d
|
-
|
(optional) equation of the form direction=incoming or outgoing
|
|
|
|
|
Description
|
|
•
|
IncidentEdges returns the set of edges (arcs) which are incident to a given vertices. If G is a directed graph, then the set of arcs which have a tail in the given list of vertices are returned.
|
•
|
IncidentEdges(G, V, direction=incoming) returns the set of arcs which have a head in the given set of vertices.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?