title: Understanding and building a social network algorithm
body: <p>I am not sure whether this is the right platform to ask this question.
  But my problem statement is : I have a book shop &amp; x no of clients (x is huge).</p>
  
  <p>A client can tell me whether a book is a good or bad (not recommended).
  I have a internal logic to club books together , so if a client says a book is bad, he is saying that similar books are bad too and don't show him that.</p>
  
  <p>I oblige and hide those books. Clients can also interact among themselves, and have a mutual confidence level between them.
  A case arises when client A says Book X1 is bad. Hence i blacklist X1,X2,X3,X4 etc.</p>
  
  <p>But his friend client B says X3 is good. So now i have to show X3 to A.
  I was thinking to build a social network of all my clients based on their interaction, and be able to calculate their mutual confidence level.
  So in the above senario if mutual confidence level is very high will will show X3 to A, or else i won't show X3 to A.</p>
  
  <p>I wanted to get myself kickstarted on building the social network and assigning a wt. to a path between 2 nodes (my clients). Please suggest me some good pointers where i can start.
  Any book, websites etc.</p>
  
  <p>Thanks</p>