# Find all the connected subgraphs whose size <= lc

### Description

FindAllCG uses FindCG iteratively, and lists all the connected subgraphs with no more than lc nodes

### Usage

1 | ```
FindAllCG(adjacency.matrix, lc)
``` |

### Arguments

`adjacency.matrix` |
p by p adjacency matrix of an undirected graph; it must be symmetric. |

`lc` |
the maximal size of the connected subgraphs to be listed |

### Value

`cg.all` |
A list, whose kth component is a matrix with k columns that lists all the connected subgraphs with k nodes. |

### See Also

`FindCG`

### Examples

1 2 3 4 5 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.