Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: GraphComplement doesn't work in 7.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97093] Re: GraphComplement doesn't work in 7.0
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 5 Mar 2009 04:54:05 -0500 (EST)
  • References: <golr38$qdo$1@smc.vnet.net>

They return unevaluated because you don't provide them with the input
formats for which they are defined.

As can be clearly (!) seen in the Combinatorica manual,
GraphComplement needs a graph as input. What you gave him is not a
graph.

Look up this manual page:
Combinatorica/guide/GraphConstructionAndRepresentations

and find some graph representation functions. Hint: they start with
From.

Cheers -- Sjoerd


On Mar 4, 2:10 pm, Tangerine Luo <tangerine.... at gmail.com> wrote:
> I find some functions do not work in mathematica 7.0. Why?
> are some function not implemented yet?
> << Combinatorica`
> In[4]:= GraphComplement[{1 -> 2}]
>
> Out[4]= GraphComplement[{1 -> 2}]



  • Prev by Date: Re: question about mathlink.h
  • Next by Date: Re: Conjecture: 2n+1= 2^i+p ; 6k-2 or 6k+2 = 3^i+p
  • Previous by thread: Re: GraphComplement doesn't work in 7.0
  • Next by thread: Legends in GraphicsGrid