Close
Close window
RelabelVertices - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

GraphTheory

RelabelVertices

relabel vertices of graph

Calling Sequence

RelabelVertices(G,V)

Parameters

G

-

a graph

V

-

a list of vertex labels

Description

RelabelVertices(G,V) returns a new graph with vertex labels changed to be those in V. The graph G is not modified.

Examples

>

withGraphTheory:

>

GGraph1,2,1,3,1,4:

>

VerticesG

1,2,3,4

(1)
>

EdgesG

1,2,1,3,1,4

(2)
>

HRelabelVerticesG,a,b,c,d:

>

VerticesH

a,b,c,d

(3)
>

EdgesH

a,b,a,c,a,d

(4)

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /