fmdtree.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:2k
- %FMDTREE DTREE 僆僽僕僃僋僩偺僼傿乕儖僪娗棟
- % VARARGOUT = FMDTREE(OPT,T,VARARGIN)
- %
- % DTREE 僆僽僕僃僋僩偺幚峴偵娭偟偰偼丄DTREE 僋儔僗梡偺僐儞僗僩儔僋僞傪% 嶲徠偟偰偔偩偝偄丅
- %
- % 儐乕僥傿儕僥傿:
- %===========
- % T 偑僣儕乕偺応崌丄I 偼丄偡傋偰偺僲乕僪忣曬傪娷傓峴楍 V 偲僀儞僨僢僋
- % 僗偺楍傪娷傓僲乕僪僀儞僨僢僋僗 C 偺楍儀僋僩儖偱偡丅
- %
- % V = FMDTREE('an_read',T) 偼丄V = GET(T,'allNI') 偲摍壙偱偡丅
- % V = FMDTREE('an_read',T,I)
- % V = FMDTREE('an_read',T,I,C)
- % V = FMDTREE('an_read',T,'all',C)
- %
- % T = FMDTREE('an_write',T,V) 偼丄T = SET(T,'allNI',V) 偲摍壙偱偡丅
- % T = FMDTREE('an_write',T,V,'add')
- % T = FMDTREE('an_write',T,V,I)
- % T = FMDTREE('an_write',T,V,'add',C)
- % T = FMDTREE('an_write',T,V,I,C)
- %
- % T = FMDTREE('an_del',T,I) 偼丄偡傋偰偺僲乕僪忣曬傪塀偟傑偡丅
- % I 偼丄僲乕僪僀儞僥僢僋偡傪娷傓儀僋僩儖偱偡丅
- %
- % 撪晹僆僾僔儑儞:
- %===============================================================
- % OPT = 'setinit', 弶婜僨乕僞偺愝掕
- % OPT = 'getinit', 弶婜僨乕僞偺庢摼
- %---------------------------------------------------------------
- % allNI - 偡傋偰偺僲乕僪忣曬: 攝楍(nbnode,3+nbinfo_by_node)
- % allNI(:,1) = 僲乕僪僀儞僨僢僋僗
- % allNI(:,2:3) = 僲乕僪僨乕僞偺僒僀僘
- % allNI(:,4:end) = 僋儔僗偵埶懚
- %
- % 'an_del' - 偡傋偰偺僲乕僪忣曬: 嶍彍
- % 'an_write' - 偡傋偰偺僲乕僪忣曬: 彂偒崬傒
- % 'an_read' - 偡傋偰偺僲乕僪忣曬: 撉傒崬傒
- %---------------------------------------------------------------
- % terNI - 枛抂僲乕僪忣曬: 僙儖攝楍(1,2)
- % c{1} = 攝楍(nbternod,2) <--- 僒僀僘
- % c{2} = 攝楍(1,:) <--- 忣曬
- %
- % 'tn_beglensiz' - 枛抂僲乕僪忣曬: begin-length-size
- % 'tn_write' - 枛抂僲乕僪忣曬: 彂偒崬傒
- % 'tn_read' - 枛抂僲乕僪忣曬: 撉傒崬傒
- %===============================================================
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 01-Jan-97.
- % Copyright 1995-2002 The MathWorks, Inc.