repo.or.cz
/
maxima.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://git.code.sf.net/p/maxima/code
[maxima.git]
/
share
/
contrib
/
prim
/
prim-ex1.mac
blob
53e9298787639668219084ae750361621bfb5bf8
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);