By "Total number", I meant sum of edges (edges connected to the same node) weight should be less than 1 in the same time each edge should have weight from 0 to 1.
Pardon me if I miss the meaning of the world. > Date: Sat, 22 Nov 2014 17:18:48 +0100 > From: [email protected] > To: [email protected] > Subject: Re: [igraph] generate random weights for edges under constrain > > > kindly, I want to generate random 'n' numbers for a node connected in- > > edges. but under the constrain that total number of edges weight could not > > be more than one <=1. > Is it allowed to be less than 1? In that case, you can simply generate > arbitrary random negative numbers ;) > > -- > T. > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
