Skip to content

Creating adjacency marix , using c#

emma johnson

Asked May 24, 2013, 4:21 AM EDT2 answers
Share
LinkedInX
hi,
can anyone guide me how to create adjacency matrix from the data ,using c#  language?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Sunny  Sharma
    0
    from what data you want to create adjancy matrix... please elaborate.
    0
  • 0
    Hi!
      I want to create adjacency matrix for the given dataset.
    for example:

    #*Active Database Systems.
    #@Umeshwar Dayal,Eric N. Hanson,Jennifer Widom
    #t1995
    #cModern Database Systems
    #%995520
    #%189


    #*Specification and Execution of Transactional Workflows.
    #@Marek Rusinkiewicz,Amit P. Sheth
    #t1995
    #cModern Database Systems
    #%26682
    #%807142
    #%1065531
    #%855968


    #*Foundations of Databases.
    #@Serge Abiteboul,Richard Hull,Victor Vianu
    #t1995
    #c
    #%1118192
    #%189
    #%1088975
    #%971271
    #%832272
    #%544788
    #%1137947
    #%597921
    #%160032
    #%641879
    #%303893
    #%929563
    #%160519
    #%1118157
    #%2246
    #%641813
    #%621173
    #%1118169
    #%544814
    #%544798
    #%641851
    #%949603
    #%209741
    #%1118135
    #%1118137
    #%597931


    In above dataset, 3 records are given. Each record starts with "#*" and ends with "#%".

    #*  is "paper title"
    #@ is "Authors"
    #t  is "Year"
    #c  is "publication Venu "
    #% is " paper citations"

    I want to create adjacency matrix against authors (i.e. starts with #@) and the paper citations (i.e. starts with #%) from each record , that is the number of times the author is cited.

    The adjacency matrix example is shown below:




    in the table "1" shows that the specific author has this citation number in his record..
    0