networks[eweight] - finds edgeweights in a graph
|
Calling Sequence
|
|
eweight(G)
eweight(e, G)
|
|
Parameters
|
|
G
|
-
|
graph or network
|
e
|
-
|
edge or list of edges
|
|
|
|
|
Description
|
|
•
|
This routine is used to determine the edge weights of edges in a graph G.
|
•
|
If the only parameter is a graph G then the edge weight table of the graph is returned. Any subsequent modifications of this table directly affect the graph.
|
•
|
The default edge weights are 1, but can be reassigned as any valid maple object. Procedures such as gsimp() can be provided with user defined rules for calculating new weights during the simplification of a graph.
|
•
|
If e is an edge then the weight of e is returned. If e is a list of edges then a list of weights is returned.
|
•
|
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[eweight](...).
|
|
|
Download Help Document
Was this information helpful?