Is this a bug in the Adjacency Matrix function? Using 8.9.4.0
- To: mathgroup at smc.vnet.net
- Subject: [mg123977] Is this a bug in the Adjacency Matrix function? Using 8.9.4.0
- From: Richard Palmer <rhpalmer at gmail.com>
- Date: Tue, 3 Jan 2012 05:29:05 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
testgraph=Graph[#[[1]]\[DirectedEdge]#[[2]]&/@{{1,3},{2,3},{3,4},{3,5},{4,6},{4,7},{5,7},{6,7}}, VertexLabels->"Name", ImagePadding->10] MatrixForm[AdjacencyMatrix[testgraph], TableHeadings -> {Range[7], Range[7]}] The Adjacency Matrix appears to be incorrect, e.g. 1 is not adjacent to 2. What am I missing?
- Follow-Ups:
- Re: Is this a bug in the Adjacency Matrix function? Using 8.9.4.0
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: Is this a bug in the Adjacency Matrix function? Using 8.9.4.0
- From: Heike Gramberg <heike.gramberg@gmail.com>
- Re: Is this a bug in the Adjacency Matrix function? Using 8.9.4.0