Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Barabasi-Albert graph model, documentation
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 14
Registered: 1/27/11
Barabasi-Albert graph model, documentation
Posted: Jan 27, 2011 3:42 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

The help page for the Barabasi-Albert graph model
(BarabasiAlbertGraphDistribution) explains the construction scheme as

"The BarabasiAlbertGraphDistribution is constructed starting from
CycleGraph[3] and a vertex with k edges is added at each step. The k
edges are attached to vertices at random following a distribution
proportional to the vertex degree. "

The implementation given in section 'Applications' does follow this
scheme. However, I'm not sure that starting with a cyclic 3-vertex
graph is an essential piece of the algorithm, and indeed the built-in
Barabasi-Albert graph generation function does not seem to do that.
Depending on the definition of B-A graph actually meant to be
implemented, the documentation may need to be modified.

Besides, the built-in implementation does not seem to work correctly
wrt. to the algorithm given in the documentation. With the input n=3,
k=0, the output should be the cyclic 3-vertex graph (start with the
cycle, add 0 vertices with at most 0 edges), but no graph is
produced. With the input n=4, k=1, the output should be the cyclic 3-
vertex graph with a 'tail' added, but the actual output is a non-
cyclic 3-vertex graph (wrong in both the number of vertices and
connectedness). The implementation given in the 'Applications'
section produces the expected output.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.