Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

CostOfPath

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62481] CostOfPath
  • From: "Bart De Vylder" <bart.de.vylder at pandora.be>
  • Date: Fri, 25 Nov 2005 02:25:44 -0500 (EST)
  • Reply-to: <bartdv at arti.vub.ac.be>
  • Sender: owner-wri-mathgroup at wolfram.com

I run Windows XP and Mathematica 5.2 (student version).

Can anybody explain the following?

<< DiscreteMath`Combinatorica`;
gr = FromOrderedPairs[{{2, 1}}];
CostOfPath[gr, {2, 1}]

Out[]= â?? (infinity)

I would expect 1 as answer.

Thanks,
Bart



  • Prev by Date: Re: problems with typesetting in packages
  • Next by Date: SugarCube
  • Previous by thread: Re: webMathematica problems if using Xvnc
  • Next by thread: Re: CostOfPath