Scilab function

contract_edge - contracts edges between two nodes

Calling Sequence

g1 = contract_edge(i,j,g)

Parameters

Description

contract_edge returns the graph g1, the edges between the nodes number i and j being deleted, the nodes being reduced to one node with the same name as node i and located at the middle point between the 2 previous nodes.

Examples

See Also