GraphStream Users

Archives de la liste Aide

Re: is this how i ask a question?

Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT>
  • To: "graphstream-users AT" <graphstream-users AT>, Artur F <schirmcharmemelone AT>
  • Subject: Re: is this how i ask a question?
  • Date: Mon, 16 May 2016 10:51:30 +0200


Yes, this is quiet how you ask a question, even if setting a more appropriate subject for your email could be nicer...

`st` event in dgs works as in your first shot :

st 100
dn ....

Steps are only use to read chunk of events (with the `#nextStep()` method) and you can get the current step value with `Graph.getStep()`.

Hope it helps.

2016-05-16 7:25 GMT+02:00 Artur F <schirmcharmemelone AT>:

i am using graphStream to work on an ant colony optimization algorithm and want to delete nodes after a specific time. I am using the dgs file format and did find this site here:

and as it seems right now what i want is the
"st" event, but i do not know how to use it.

i tried to use it like this:

st 100
dn "0_0"

seems like the st line will just be ignored.

then i tried this:

st 100 dn "0_0"

which makes everything crash with a null pointer exception.

what is the correct way to use the "st" step command?

Guilhelm Savin
PhD of Computer Science

Archives gérées par MHonArc 2.6.16.

Top of page