Network Topology Generator
Last update : 28/2/2007

uniongraph - Union of 2 graphs

Calling Sequence

[gu]=uniongraph(g1,g2,ind)

Parameters

Description

Perform the union of 2 graphs at the node ind in the first network.The first node of g2 is linked to the node ind of g1.

Examples

  [g1,conn1]=waxmanconnex(0.2,0.3,80,1000);
  [g2,conn2]=waxmanconnex(0.3,0.4,20,100);
  [gu]=uniongraph(g1,g2,10);
  gu.edge_color=[5*ones(1,length(g1.head)) 1 2*ones(1,length(g2.head))];
  gu.node_color=[5*ones(1,length(g1.node_x)) 2*ones(1,length(g2.node_x))];
  show_graph(gu);
  

Authors

Foued Melakessou University of Luxembourg

Bibliography

InTra Project 2004-2007

Used Function

uniongraph.