📄 makerpctrltree.m
字号:
% MakeCtrlTree -- Creates a (2D anisotropic) RPtree to be used in the BestRPBasis algorithm.% % Usage% ctlRPtree = MakeRPCtrlTree(maxDepth,options,optionParam)% Inputs% maxDepth A 2-vector defining maximum depth of splitting in coordinate1 direction % and in coordinate2 direction (range in 0...). maxDepth = [D1,D2]% options Describes the constraints set on the BestBasis Algorithm. The initialization% of the control tree is dependant on these options.% The values set in the control tree determine the flow of the bestbasis algorithm.% i.e. determine the direction of splits allowed at each tree node.% options may take the value:% 'NoConstraint' - any split direction allowed.% optionParam = []% 'GivenCoor1' - The splits in coor1 directions is defined by a 1D ctrlTree% given in optionParam. The splits in coor2 direction can only FOLLOW % the splits in coor1 direction. The 1D ctrlTree must have same length as% ctrltree (i.e. 2^(D1+1)-1 )% optionParam = [OneDtree]% 'GivenCoor2' - The splits in coor2 directions is defined by a 1D ctrlTree% given in optionParam. The splits in coor1 direction can only FOLLOW % the splits in coor2 direction. The 1D ctrlTree must have same length as% ctrltree (i.e. 2^(D2+1)-1 )% optionParam = [OneDtree]% % optionParam Parameters associated with the options.% % Outputs% ctlRPtree anisotropic rectangle tree with values determined by the options.% % Description% Builds an anisotropic rectangle tree that will be used to determine the split direction% during the BestBasis procedure.% % See also: RPtree structure description, and the BestBasis algorithm description.% %%% Part of BeamLab Version:200% Built:Friday,23-Aug-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%%% Part of BeamLab Version:200% Built:Saturday,14-Sep-2002 00:00:00% This is Copyrighted Material% For Copying permissions see COPYING.m% Comments? e-mail beamlab@stat.stanford.edu%
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -