A practical Network Coding and Routing Scheme based on Maximum Flow Combination



Download 1.23 Mb.
Page12/19
Date02.05.2018
Size1.23 Mb.
#47331
1   ...   8   9   10   11   12   13   14   15   ...   19

Data File Format

  1. Input File format


The first line contains four positive integers: n giving the number of nodes; m giving the number of edges; s giving the source node id and l giving the number of sink nodes.

The second line contains l integers, giving the id of sink nodes.

Then followed by m lines, each line contains three positive integers: x stands for the source node of edge; y stands for the end node of edge and c stands for the capacity of edge <x,y>.

One sample input file for butterfly network is listed below.

7 9 0 2

5 6


0 1 1

0 2 1


1 3 1

1 5 1


2 3 1

2 6 1


3 4 1

4 5 1


4 6 1
      1. Output File Format


Log files include all the intermediate matrixes, coding scheme results, warning and error messages.

Furthermore, there are six types of output images files:



  1. Input network

  2. Max-flow to each sink node (Figure 8.)

  3. Merged max-flow (Figure 9.)

  4. Target sets at each edge (Figure 10.)

  5. Coding scheme with data blocks and target sets(Figure 15.)

  6. Coding scheme with xor operation

In order to distinguish different flows to different sink nodes, “paired12” colour scheme provided by Graphviz is chosen as shown in Figure 16.. Each sink node and the related max-flow are assigned an identical unique colour.

  1   

   2   

   3   

   4   

   5   

   6   

   7   

   8   

   9   

   10   

   11   

   12   

  1. Colour scheme for different max-flows

The nodes are represented with unique shape to its type as well. As shown in Figure 17., the normal cycle shape stands for forward node; double cycle shape stands for multicast node; double octagon stands for coding node.



  1. Node shapes of output images

As shown in Figure 18., two arrow shapes are selected: crow is used for overlapped flow to multiple sink nodes and normal arrow is used for single flow to single sink node.

"crow"



"normal"



  1. Arrow shapes of output images


    1. Download 1.23 Mb.

      Share with your friends:
1   ...   8   9   10   11   12   13   14   15   ...   19




The database is protected by copyright ©ininet.org 2024
send message

    Main page