MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

graph

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125352] graph
  • From: clansa <dauphinester at gmail.com>
  • Date: Thu, 8 Mar 2012 04:40:47 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

I have this kind of data
{{1, {11, 6, 13, 22}}, {2, {35, 10, 12, 8, 28}}, {3, {23, 31, 19, 14,
   11}}, {4, {9, 15, 7, 13, 33, 19}}, {5, {28, 8, 32, 34}}, {6, {27,
   13, 1, 11, 20}}, {7, {13, 4, 15, 17, 21, 32, 8}}, {8, {7, 32, 5,
   28, 2, 12}}}
The node 1 is connected to nodes 11, 6, 13 and 22
the node 2 is connected to nodes 35,10,12,8 and 28

I want to make a graph gr
and then to obtain adjency matrix with AdjacencyMatrix[gr]

I work with many nodes (>250

Thanks
Andrew



  • Follow-Ups:
    • Re: graph
      • From: Bob Hanlon <hanlonr357@gmail.com>
    • Re: graph
      • From: Adriano Pascoletti <adriano.pascoletti@uniud.it>
  • Prev by Date: Conformal Mapping of Mandelbrot Set
  • Next by Date: Using Throw/Catch in MeshFunctions doesn't work? (8.0.4)
  • Previous by thread: Re: Conformal Mapping of Mandelbrot Set
  • Next by thread: Re: graph