MathGroup Archive 2005

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

Search the Archive

CostOfPath


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