Asked • 05/29/19

Finding cycle of 3 nodes ( or triangles) in a graph?

I am working with complex networks. I want to find group of nodes which forms a cycle of 3 nodes (or triangles) in a given graph. As my graph contains about million edges, using a simple iterative solution (multiple "for" loop) is not very efficient. I am using python for my programming, if these is some inbuilt modules for handling these problems, please let me know. If someone knows any algorithm which can be used for finding triangles in graphs, kindly reply back.

1 Expert Answer

By:

Victoria H. answered • 09/27/19

Tutor
New to Wyzant

Math Without Fear

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.