Graph generators could add parameters as attributes

Bug #303106 reported by Gábor Csárdi
2
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Low
Gábor Csárdi

Bug Description

E.g. erdos.renyi.game could add 'p', watts.strogatz.game could add the rewiring probabilty as graph attributes. The name of the generator could also be added as a 'source' or 'generator' graph attribute.

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Perhaps this is only desirable in the interfaces....

Changed in igraph:
assignee: nobody → gabor.csardi
importance: Undecided → Low
status: New → Confirmed
Changed in igraph:
milestone: none → 0.6
status: Confirmed → In Progress
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

OK, here is a list of functions for a start. I should go in the order of importance, though.

aging.ba.game
aging.barabasi.game
aging.prefatt.game
asymmetric.preference.game
ba.game
barabasi.game
callaway.traits.game
cited.type.game
citing.cited.type.game
degree.sequence.game
erdos.renyi.game
establishment.game
forest.fire.game
grg.game
growing.random.game
hrg.game
interconnected.islands.game
lastcit.game
preference.game
random.graph.game
static.fitness.game
static.power.law.game
watts.strogatz.game

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Added for

aging.ba.game
aging.barabasi.game
aging.prefatt.game
asymmetric.preference.game
ba.game
barabasi.game
callaway.traits.game
degree.sequence.game
erdos.renyi.game
establishment.game
grg.game
growing.random.game
preference.game
random.graph.game
watts.strogatz.game

TODO:

cited.type.game
citing.cited.type.game
forest.fire.game
hrg.game
interconnected.islands.game
lastcit.game
static.fitness.game
static.power.law.game

and there are many deterministic ones as well.

Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Done in #2754 (0.6-main).

There is no function argument for this any more, just the 'add.params' option.

Changed in igraph:
status: In Progress → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/262

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.