Trail - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


GraphTheory

  

Trail

  

construct a trail through a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Trail(vseq)

Parameters

vseq

-

list or sequence of vertices

Description

• 

The Trail inert function is used as a short form description of edges in a graph passing through a vertex sequence/list in the given order. For example, Trail(1,2,3,4) or Trail([1,2,3,4]) are short forms to specify a trail through the vertices that generates the edges ,  and .

• 

The Trail function is only understood by the functions that construct graphs (Graph and Digraph) as well as functions that add edges to a graph or remove edges from a graph (AddEdge, DeleteEdge, AddArc, and DeleteArc). It is also used as a return value for a specified path (IsEulerian).

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

(12)

See Also

AddArc

AddEdge

DeleteArc

DeleteEdge

Digraph

Graph

 


Download Help Document