Previous Page Next Page Contents

Network::outDegree -- returns the out-degrees for nodes

Introduction

Network::outDegreeG returns the ``out-degrees'' for the nodes of the network G. An out-degree is the number of edges leaving the node.

Call(s)

Network::outDegree(G <, v...>)

Parameters

G - a Network
v - expression

Returns

Depending on the number of arguments, either a table or a non-negative integer.

Details

Example 1

In a complete network with n vertices, each vertex has out-degree n-1.

>> N1 := Network::complete(4):
   Network::outDegree(N1)
                                 table(
                                   4 = 3,
                                   3 = 3,
                                   2 = 3,
                                   1 = 3
                                 )

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000