With this data:
G.node['node']['a']['initial'] = 100
G.node['node']['a']['final'] = 10
G.node['node']['a']['initial'] = 500
G.node['node']['b']['final'] = 15
I need to do the following calculation:
min(G.node[node]['a']['final'],G.node[node]['b']['final']) / the initial attribute of the node that has the min final value.
= 10/100
I do not know who to tell python that 10 belongs to the node G.node['node']['a']. Thanks!