{"id":503,"date":"2016-12-13T15:13:26","date_gmt":"2016-12-13T15:13:26","guid":{"rendered":"http:\/\/muthu.co\/?p=503"},"modified":"2021-01-02T14:05:33","modified_gmt":"2021-01-02T14:05:33","slug":"graph-theory-basics-part-1","status":"publish","type":"post","link":"http:\/\/write.muthu.co\/graph-theory-basics-part-1\/","title":{"rendered":"Graph Theory Basics – Part 1"},"content":{"rendered":"

\"Image<\/p>\n

    \n
  1. A,B,C,D and E are vertices<\/strong><\/li>\n
  2. AB, BC, CD etc are edges<\/strong><\/li>\n
  3. the whole diagram is called a graph<\/strong>.<\/li>\n
  4. The degree of a vertex<\/strong> is the number of edges with that vertex as an end-point; B is degree 2, written as\u00a0deg(B)<\/em>\"screenshot-from-2016-12-09-10-29-44\"<\/a><\/li>\n
  5. Graphs with no loops or multiple edges, such as the graph in 1, are called simple graphs.<\/strong><\/li>\n
  6. Directed graph <\/strong>with walks between edges
    \n
    \"screenshot-from-2016-12-09-10-29-44\"<\/a><\/li>\n
  7. A walk<\/strong> is a ‘way of getting from one vertex to another’, and consists of a sequence of edges, one following after another. For example, in above figure\u00a0P \u2014> Q\u2014>R is a walk of length 2, and P \u2014> S \u2014> Q \u2014> T \u2014> S \u2014> R is a walk of length 5. A walk in which no vertex appears more than once is called a path<\/strong>; for example, P\u2014> T\u2014> S \u2014> R is a path. A walk of the form Q\u2014> S\u2014> T\u2014> Q is called a cycle<\/strong>.<\/li>\n
  8. walks that include every edge or every vertex exactly once, ending at the initial vertex; such graphs are called Eulerian<\/strong> and Hamiltonian<\/strong> graphs.<\/li>\n
  9. Two graphs Gl and G2 are isomorphic<\/strong> if there is a one-one correspondence between the vertices of Gx and those of G2 such that the number of edges joining any two vertices of Gx is equal to the number of edges joining the corresponding vertices of G2. \"screenshot-from-2016-12-09-10-29-44\"<\/a><\/li>\n
  10. We say that two vertices v and w of a graph G are adjacent<\/strong> if there is an edge vw joining them, and the vertices v and w are then incident<\/strong> with such an edge.<\/li>\n
  11. A graph whose edge-set is empty is a null graph.<\/strong><\/li>\n
  12. Matrix representation<\/strong>\u00a0of graphs for computer storage.\u00a0If G is a graph with vertices labelled {1, 2, …,n} , its adjacency matrix A is the n x n matrix whose ij<\/em>-th entry is the number of edges joining vertex i and vertex j . If, in addition, the edges are labelled {1, 2,… , m}, its incidence matrix M is the n x m matrix whose ij-th entry is 1 if vertex i is incident to edge;, and 0 otherwise.\"screenshot-from-2016-12-09-10-29-44\"<\/a><\/li>\n
  13. A simple graph in which each pair of distinct vertices are adjacent is a complete graph.<\/strong> \"screenshot-from-2016-12-09-10-29-44\"<\/a><\/li>\n<\/ol>\n

     <\/p>\n

      <\/p>\n","protected":false},"excerpt":{"rendered":"

    A,B,C,D and E are vertices AB, BC, CD etc are edges the whole diagram is called a graph. The degree of a vertex is the number of edges with that vertex as an end-point; B is degree 2, written as\u00a0deg(B) Graphs with no loops or multiple edges, such as the graph in 1, are called […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[54],"_links":{"self":[{"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/posts\/503"}],"collection":[{"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":1616,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/posts\/503\/revisions\/1616"}],"wp:attachment":[{"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/write.muthu.co\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}