igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Calculate the edge attributes based on the vertices attributes


From: Seen
Subject: [igraph] Calculate the edge attributes based on the vertices attributes
Date: Mon, 9 Apr 2012 17:33:39 -0400

Hello, I have a directed graph(G),
I have E(G)$Rates,
and V(G)$Capacity,
How can I create an edge attribute as E(from p1)$Weights = Origin
V(p1)$Rate * E(from p1)$Capacity?

Thank you very much!

-- 
Zhuojie Huang
Department of Geography
& Emerging Pathogens Institute
University of Florida



reply via email to

[Prev in Thread] Current Thread [Next in Thread]