Implement edges weights from nodes variables

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!