Hi Lydia,
there is no dedicated Gelly API method that performs normalization. If you know the max value, then a mapVertices() would suffice. Otherwise, you can get the Dataset of vertices with getVertices() and apply any kind of operation supported by the Dataset API on it.
Best,
-Vasia.
On May 12, 2016 10:31 AM, "Lydia Ickler" <
[hidden email]> wrote:
Hi all,
If I have a Graph g: Graph<Integer, Double, Double> g
and I would like to normalize all vertex values by the absolute max of all vertex values -> what API function would I choose?
Thanks in advance!
Lydia