networks(deprecated)/incident - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : networks(deprecated)/incident

networks

  

incident

  

finds the edges incident to a vertex set

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

incident(v1, G)

incident(Vset, G)

incident(Vset, G, 'In')

incident(Vset, G, 'Out')

Parameters

G

-

graph or network

v1

-

vertex in G

Vset

-

vertex set in G

Description

• 

Important:The networks package has been deprecated. Use the superseding command GraphTheory[IncidentEdges]instead.

• 

Given a vertex v the edges incident with v are returned as a set.

• 

Given a vertex set then the set of cut edges to the subgraph induced by that set of edges is returned.

• 

The 'In'/'Out' flags specify which kind of directed edges should be considered.  Undirected edges are considered bidirectional and included in both classifications.

• 

This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[incident](...).

Examples

Important:The networks package has been deprecated. Use the superseding command GraphTheory[IncidentEdges]instead.

withnetworks:

Gcomplete3:

addvertex4,G:

addedgeseq4,i,i=1..3,G:

incident4,G

e4,e5,e6

(1)

incident4,G,In

(2)

incident1,2,3,G

e4,e5,e6

(3)

See Also

GraphTheory

GraphTheory[IncidentEdges]

networks(deprecated)[edges]

networks(deprecated)[ends]

with