On Friday, October 2, 2015 at 8:50:12 PM UTC-7, Selva Raja S wrote:
>
>
> clique_complex() does not shows facets
>
>
>
> *for example*sage: 
> g=Graph({1:[2,5,6,3,4],2:[7,3,5,4],3:[8,4,5],4:[9,5],5:[10]})
> sage: g.clique_complex()
> Simplicial complex with 10 vertices and 6 facets
>


You have made an accurate statement. Do you have a question? I'm guessing 
that you want list of the facets:

sage: g.clique_complex().facets()
{(4, 9), (1, 6), (2, 7), (1, 2, 3, 4, 5), (5, 10), (3, 8)}

But if you want something else, let us know.

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to