[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •[SOLVED] Difference in performance for nbr of spells?
Page 1 of 1

[SOLVED] Difference in performance for nbr of spells?

Posted: 22 Jul 2011 15:13
by seinecle
Hi,

I have a script which generates spells for every time period, even when they are consecutive:

VERSION 1
<spell start = "2005.0" end="2005.0">
<spell start = "2005.1" end="2005.1">
<spell start = "2005.2" end="2005.2">
<spell start = "2005.3" end="2005.3">
<spell start = "2005.8" end="2005.8">

Obviously it would save space to have instead:

VERSION 2
<spell start = "2005.0" end="2005.3">
<spell start = "2005.8" end="2005.8">

My question is, is VERSION 2 leading to better computational performances or better memory management than VERSION 1 when I export the gexf in GEPHI? (I'll have 100,000 spells or more). Is it worth writing a script to convert my gexf to VERSION 2?

Thx!

Clement

Re: Difference in performance for nbr of spells?

Posted: 24 Jul 2011 22:23
by admin
Do you have continuous or discrete time?

Here it is not an issue of how Gephi behaves but pure data consistency. The first version says that, for instance, the element DOES NOT EXISTS on the continuous period between 2005.0 and 2005.1.

I'm not sure if this what you want.

Re: Difference in performance for nbr of spells?

Posted: 25 Jul 2011 07:37
by seinecle
Oh... I get it now! Thx.

Indeed I want continuous time, so that's version 2.

I wrote a script working in Excel which converts spells from Version 1 to Version 2, working with dates formatted like in the example. Anybody interested can drop me an email to get it.

Best,

Clement