networks(deprecated)/arrivals - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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

networks

  

arrivals

  

neighboring vertices found along incoming edges

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

arrivals (v, G);

arrivals (G)

Parameters

v

-

vertex or set of vertices of G

G

-

graph or network

Description

• 

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

• 

Given a vertex v of a graph G, this routine returns the set of vertices which are at the tail of edges directed into v or at the end of an undirected edge incident with v. Thus, undirected edges are treated as if they were bidirectional.

• 

If v is a set of vertices then arrival is defined in terms of arrival into the subgraph induced by v in G.

• 

When called with just the graph as a single argument, an arrivals table indexed by vertices is constructed.  This table is not part of the graph data structure. In particular, this means that any direct assignments to this table have no effect on the graph itself.

• 

The arrivals and departure information is constructed from the neighbors table which is automatically maintained by the main graph primitives such as addedge() and delete().

• 

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

Examples

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

withnetworks:

Gcomplete4:

addvertex0,G

0

(1)

connect0,1,G,directed

e7

(2)

arrivals0,G

(3)

departures0,G

1

(4)

neighbors0,G

1

(5)

arrivals1,G

0,2,3,4

(6)

departures1,G

2,3,4

(7)

neighbors1,G

0,2,3,4

(8)

arrivalsG

table0=,1=0,2,3,4,2=1,3,4,3=1,2,4,4=1,2,3

(9)

departuresG

table0=1,1=2,3,4,2=1,3,4,3=1,2,4,4=1,2,3

(10)

neighborsG

table0=1,1=0,2,3,4,2=1,3,4,3=1,2,4,4=1,2,3

(11)

See Also

GraphTheory

GraphTheory[Arrivals]

networks(deprecated)[departures]

networks(deprecated)[neighbors]

with