====== Pajek - Networks ======
^ network A ^ network B ^
| {{notes:pics:ops:a.svg?300x300}} | {{notes:pics:ops:b.svg?300x300}} |
|
*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
|
| [[http://zvonka.fmf.uni-lj.si/netbook/lib/exe/fetch.php?media=notes:pajek:axy.net|A.net]] | [[http://zvonka.fmf.uni-lj.si/netbook/lib/exe/fetch.php?media=notes:pajek:bxy.net|B.net]] |
^ A ''Union of Lines'' B ^ A ''Union of Vertices'' B ^ A ''Cross-Intersection[min]'' B ^
| {{notes:pics:ops:aulb.svg?300x300}} | {{notes:pics:ops:auvb.svg?300x300}} | {{notes:pics:ops:aImb.svg?300x300}} |
^ A ''Cross-Difference'' B ^ B ''Cross-Difference'' A ^
| {{notes:pics:ops:a-b.svg?300x300}} | {{notes:pics:ops:b-a.svg?300x300}} |
===== General case =====
In general case when we have two networks **N**a = (**A**,**L**a) and **N**b = (**B**,**L**b) we have to transform them to the common set of vertices **V**=**A**∪**B** 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 ''v''//i//.
* 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'' ...