Pajek - Networks

network A network B
a.svg b.svg
*Vertices 5
 1 "a"    0.4826    0.0681    0.5
 2 "b"    0.2042    0.2932    0.5
 3 "c"    0.8121    0.2906    0.5
 4 "d"    0.3457    0.4974    0.5
 5 "e"    0.6334    0.4895    0.5
*Edges
 1  2 1
 1  5 1
 1  3 1
 2  5 1
 3  4 1
 3  5 1
*Vertices 7
 1 "a"     0.4826    0.0681    0.5
 2 "b"     0.2042    0.2932    0.5
 3 "c"     0.8121    0.2906    0.5
 4 "d"     0.3457    0.4974    0.5
 5 "e"     0.6334    0.4895    0.5
 6 "f"     0.2947    0.6832    0.5
 7 "g"     0.6798    0.6832    0.5
*Edges
 1  4 1
 2  5 1
 2  6 1
 3  4 1
 3  5 1
 3  7 1
 4  5 1
 5  6 1
 6  7 1
A.net B.net
A Union of Lines B A Union of Vertices B A Cross-Intersection[min] B
aulb.svg auvb.svg aimb.svg
A Cross-Difference B B Cross-Difference A
a-b.svg b-a.svg

General case

In general case when we have two networks Na = (A,La) and Nb = (B,Lb) we have to transform them to the common set of vertices V=AB and apply the operations afterward.

This can be done in different ways:

  • by switching off the option Read - Save vertices labels in the Options menu. In this case the vertex i gets the label vi.
  • if all vertices in A have different labels and also all vertices in B have different labels then we can use the option Networks / Match Vertex Labels

notes/net/pajops.txt · Last modified: 2015/07/16 22:01 by vlado
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki