Largest Component

Takes an adj. matrix of a network and outputs a list of the nodes in its largest connected component

Ahora está siguiendo esta publicación

B=largestcomponent(A)

This function find the largest connected component of a networks.

Input A is the adjacency matrix of the network.

Output B is a list of the nodes that are in the largest component.

A(B,B) will give the adj. matrix of the largest component.

Citar como

Puck Rombach (2026). Largest Component (https://es.mathworks.com/matlabcentral/fileexchange/30926-largest-component), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Graph and Network Algorithms en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.4.0.0

Fixed bug about multiple largest components.

1.1.0.0

Made the code faster by not using the 'find' function.

1.0.0.0