GraphStream Users

Archives de la liste Aide


Re: Copy graphs


Chronologique Discussions 
  • From: Manuel Chica Serrano <mchserrano AT gmail.com>
  • To: Yoann Pigné <yoann.pigne AT gmail.com>
  • Cc: graphstream-users AT litislab.fr
  • Subject: Re: Copy graphs
  • Date: Wed, 1 Oct 2014 10:54:16 -0400

Thanks for your quick response. I will try it!

By the way, does GraphStream have any method for generating a SN from a given distribution degree (20 nodos with 3 neighbours, 23 nodos with 4 neighbours and so on...)

Thanks and best regards,
Manuel.


On 1 October 2014 01:18, Yoann Pigné <yoann.pigne AT gmail.com> wrote:
Le 30 septembre 2014 23:22:03 CEST, Manuel Chica Serrano <mchserrano AT gmail.com> a écrit :
Hi, 

I have a Graph which evolves in a simulation (removing and adding edges). Then, I would like to come back to the initial state. Is there any way? If not, what is the best way to copy a graph to have always the initial state of the graph as another variable?

Regards and thanks


Hi,

Use method mergeIn() from the utility class Graphs in package graphstream.graph.implementations.

Good luck,

Yoann



  • Re: Copy graphs, Yoann Pigné, 01/10/2014
    • Re: Copy graphs, Manuel Chica Serrano, 01/10/2014

Archives gérées par MHonArc 2.6.16.

Top of page