Finding triangles in a k-NN graph
이전 댓글 표시
Hello,
I have a simple undirected graph represented by an adjacency matrix where (i,j)=1 if nodes i and j are connected, else (i,j)=0. I'd like to find all possible loops of three edges (triangles!) in the graph. Something like: node 1 to node 14, 14 to 50, and 50 to 1 (assuming node 1 is connected to 14, 14 to 50, and 50 to 1).
Are there any matlab tools available to do this?
답변 (1개)
KSSV
2016년 6월 29일
0 개 추천
doc delaunay
댓글 수: 2
JohnDapper
2016년 6월 29일
KSSV
2016년 6월 29일
You can search the neighbors using knnsearch....But what you said, the same thing Delaunay Triangulation does.
카테고리
도움말 센터 및 File Exchange에서 Delaunay Triangulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!