create index to graph and find isomorphism

2 visualizaciones (últimos 30 días)
Anwar Nsaif
Anwar Nsaif el 30 de Jun. de 2022
Respondida: Steven Lord el 30 de Jun. de 2022
Hello
I need to create index to graph like (G1,G2, G3, ....) and find isomorphism between them.

Respuesta aceptada

Steven Lord
Steven Lord el 30 de Jun. de 2022
Can you dynamically create variables with numbered names like G1, G2, G3, etc.? Yes.
Should you do this? The general consensus is no. That Answers post explains why this is generally discouraged and offers several alternative approaches.
Instead make a cell array containing the graph objects then call the isomorphism function on pairs of elements from the cell array.

Más respuestas (0)

Categorías

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by