Implement edges weights from nodes variables

1 visualización (últimos 30 días)
Fabio
Fabio el 21 de Dic. de 2021
Hello everyone,
I have a digraph G (see attached file) , with all nodes having a certain value of the variable “TempsD”. I would like to implement an algorithm that for every out-edges of node (i) their weights are equal to the variable value “TempsD” of node (i). This should be done for all edges of G.
How can I do that?
Thanks in advance

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