Previous Page Next Page Contents

Network::vertex -- returns a list with all vertices

Introduction

Network::vertex(G) returns the list of all vertices of the network G.

Call(s)

Network::vertex(G)

Parameters

G - network

Returns

a list

Details

Example 1

>> N1 := Network::complete(10):
   Network::vertex(N1)
                      [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
>> N2 := Network::cycle([x.i $ i=1..12]):
   Network::vertex(N2)
            [x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12]

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000