mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 07:00:25 +08:00
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
creating a bootstrap object from a file
|
|
first constractor
|
|
5 size =2 0 1 | 2 3 4 5
|
|
1 size =3 0 1 2 | 3 4 5
|
|
1 size =2 0 1 2 3 | 4 5
|
|
2 size =2 0 1 2 5 | 3 4
|
|
1 size =2 0 1 3 5 | 2 4
|
|
1 size =2 0 1 4 5 | 2 3
|
|
4 size =3 0 1 5 | 2 3 4
|
|
|
|
|
|
secound constractor
|
|
5 size =2 0 1 | 2 3 4 5
|
|
1 size =3 0 1 2 | 3 4 5
|
|
1 size =2 0 1 2 3 | 4 5
|
|
2 size =2 0 1 2 5 | 3 4
|
|
1 size =2 0 1 3 5 | 2 4
|
|
1 size =2 0 1 4 5 | 2 3
|
|
4 size =3 0 1 5 | 2 3 4
|
|
|
|
|
|
getting weights from a tree
|
|
0 1 0 0 0.8 0 0.4 0 0 0
|
|
print the support of a tree
|
|
((Baboon:1e-06,Human:1e-06):1e-06[1],(Rat:1e-06,(Langur:1e-06,Cow:1e-06):1e-06[0.4]):1e-06[0.8],Horse:1e-06);
|
|
|
|
remove the first tree from the list, and use is as bases for additional computation
|
|
use the secound tree twice
|
|
{Baboon = 0}
|
|
{Cow = 4}
|
|
{Horse = 5}
|
|
{Human = 1}
|
|
{Langur = 2}
|
|
{Rat = 3}
|
|
5 size =2 0 1 | 2 3 4 5
|
|
1 size =2 0 1 2 3 | 4 5
|
|
1 size =2 0 1 2 5 | 3 4
|
|
1 size =3 0 1 3 | 2 4 5
|
|
1 size =2 0 1 3 5 | 2 4
|
|
2 size =2 0 1 4 5 | 2 3
|
|
4 size =3 0 1 5 | 2 3 4
|
|
|
|
print the support of the removed tree
|
|
((Baboon:1e-06,Human:1e-06):1e-06[1],(Rat:1e-06,(Langur:1e-06,Cow:1e-06):1e-06[0.2]):1e-06[0.8],Horse:1e-06);
|
|
|
|
|
|
|
|
compatability
|
|
(Cow:0.3,Langur:0.3,Rat:0.3,(Horse:0.3,(Baboon:0.3,Human:0.3):1e-06[1]):1e-06[0.8]);
|
|
compatability 0.0
|
|
(Langur:0.3,Rat:0.3,(Cow:0.3,(Horse:0.3,(Baboon:0.3,Human:0.3):1e-06[1]):1e-06[0.8]):1e-06[0.4]);
|
|
compatability 0.8
|
|
(Cow:0.3,Langur:0.3,Rat:0.3,(Horse:0.3,(Baboon:0.3,Human:0.3):1e-06[1]):1e-06[0.8]);
|