正在加载图片...
virtual long Cluster(TGListNodeO<TElem>* pNode TElem **e, TRaverse Mode tm)=0 行化(聚集)操作。按遍历方式m,将结点 pNode的各子表中的结点的值的地址, 存入数组e中,返回数组中元素的个数。 例如,对广义表 L=(a,(c,(a,b),d),(e,(f) 深度优先(前序)串行化结果为: a.c.a.b. d. e. f 返回值为7 virtual long Cluster(TGlistNodeo<TElem>* pNode TGListNodeo<TElem>**pe, TTraverseMode tm)=0; ∥串行化(聚集)操作。按遍历方式m,将结点pNoe的各子表中的结点的 地址,存入数组pe中,返回数组中元素的个数 2424 virtual long Cluster(TGListNode0<TElem>* pNode, TElem **e,TTraverseMode tm)=0; //串行化(聚集)操作。按遍历方式tm,将结点pNode的各子表中的结点的值的地址, 存入数组e中,返回数组中元素的个数。 例如,对广义表 L=(a, (c, (a, b), d), (e,(f)) ) 深度优先(前序)串行化结果为: a, c, a, b, d, e, f 返回值为7 virtual long Cluster(TGListNode0<TElem>* pNode, TGListNode0<TElem> **pe,TTraverseMode tm)=0; //串行化(聚集)操作。按遍历方式tm,将结点pNode的各子表中的结点的 地址,存入数组pe中,返回数组中元素的个数
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有