Cladogram 和Phylogram这两种系统发生树,有什么相同和不同

Cladogram 和Phylogram这两种系统发生树,有什么相同和不同,第1张

引自维基百科:

A dendrogram/phylogenetic tree (系统树图/树状图) is a broad term for the diagrammatic representation of a

phylogenetic tree

A cladogram (分支图) is a phylogenetic tree formed using cladistic methods This type of

tree only represents a branching pattern; ie, its branch spans do not

represent time or relative amount of character change

A phylogram (谱系图/系统发生)图 is a phylogenetic tree that has branch spans proportional to the

amount of character change

A chronogram/ultrametric tree (时序图) is a phylogenetic tree that explicitly represents evolutionary time

through its branch spans

简而言之,

cladogram仅有拓扑结构

phylogram各分枝长度表示碱基替换数

chronogram各分枝长度表示时间

dendrogram泛指树状图,包含以上三者。

先说原因:

num是一个变量,当你用引号括起来后,就变成字符串了。所以不生效。

解决办法:

字符串拼接:$('a:eq('+num+')')

推荐的方法:$('a')eq(num)

#include <stdioh>

#include <stdlibh>

#include <stringh>

#include <timeh>

void prt(const char cla[][4][20]) /输出保存在cls三维字符数组中的周课程表/

{

int i,j;

printf("\t周一\t\t周二\t\t周三\t\t周四\t\t周五\n\n");

for (j=0; j<4; j++)

{

printf("第%d节\t",j+1);

for (i = 0; i<5; i++) {

printf("%s\t\t",cla[i][j]);

}

putchar('\n');

}

}

int main(void)

{

const char cs[]={"数学","语文","电脑","音乐","物理","化学","体育"}; /备选课程/

char cla[5][4][20]; /存储一周的课程表,一周上5天课,每天上4节课,为每节课的名称留10个char长度的空间/

int i,j;

srand(time(NULL)); /初始化随机数生成器的种子/

for (i = 0; i<5; i++) { /生成一周的课程安排/

for (j=0; j<4; j++) { /生成一天的四节课程安排/

if (j<2) strcpy(cla[i][j],cs[rand()%(sizeof(cs)/sizeof(char)-1)]); /体育不能安排在第1、2节课/

else strcpy(cla[i][j],cs[rand()%(sizeof(cs)/sizeof(char))]); /安排第3、4节课/

}

}

prt(cla); /输出生成的周课程表/

system("pause");

return 0;

}

转载,仅供参考。

以上就是关于Cladogram 和Phylogram这两种系统发生树,有什么相同和不同全部的内容,包括:Cladogram 和Phylogram这两种系统发生树,有什么相同和不同、js代码,使用了jquery过滤方法eq(),但是代码无法有效运行是怎么回事、怎么利用dhtmlxscheduler.js实现排课功能等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/9348330.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-27
下一篇 2023-04-27

发表评论

登录后才能评论

评论列表(0条)

保存