1 votes 1 votes How many distinct unlabelled simple graphs (connected or disconnected), having n nodes, are possible? Programming in C graph-theory data-structures + – Rachit Agarwal asked Nov 14, 2017 • edited Nov 15, 2017 by Rachit Agarwal Rachit Agarwal 504 views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply joshi_nitish commented Nov 14, 2017 i edited by joshi_nitish Nov 14, 2017 reply Follow Share labeled or unlabeled nodes ? if vertices are labeled, then, total no. of edges possible = $\binom{n}{2}=\frac{n(n-1)}{2}$ =E total no of graphs possible are $\sum \binom{E}{i}$ , i={0,1,2,3....E} //i.e taking 0,1,2,3..... edges at a time. but if vertices are unlabeled, there is no perticular formula generating total # of graphs, you have to find it maually 2 votes 2 votes Rachit Agarwal commented Nov 15, 2017 reply Follow Share @joshi_nitish I was asking for unlaballed nodes. 0 votes 0 votes joshi_nitish commented Nov 15, 2017 reply Follow Share for unlabelled, there does not exist any perticular formula. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes i think it is equal to...2(nC2)... as total no. of possible edges with n vertices are ..nC2.... ...and every edges has two chance ...either it may or may not be involve in the graph...?? hs_yadav answered Nov 14, 2017 hs_yadav comment Share Follow See 1 comment See all 1 1 comment reply Rachit Agarwal commented Nov 15, 2017 reply Follow Share Yeah, that's true about labelled but not for unlabelled graph 0 votes 0 votes Please log in or register to add a comment.