~ubuntu-branches/debian/squeeze/maxima/squeeze

« back to all changes in this revision

Viewing changes to share/contrib/prim/prim-ex1.mac

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2006-10-18 14:52:42 UTC
  • mto: (1.1.5 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061018145242-vzyrm5hmxr8kiosf
ImportĀ upstreamĀ versionĀ 5.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
prim_cost[1,2]:1;
 
2
prim_cost[1,3]:1;
 
3
prim_cost[1,4]:1;
 
4
prim_cost[1,5]:1;
 
5
prim_cost[2,3]:10;
 
6
prim_cost[4,5]:10;
 
7
e[1]:[1,2];
 
8
e[2]:[1,3];
 
9
e[3]:[1,4];
 
10
e[4]:[1,5];
 
11
e[5]:[2,3];
 
12
e[6]:[4,5];
 
13
prim(e,cost,5);