makerpctrltree.m
来自「beamlet变化的工具箱」· M 代码 · 共 51 行
M
51 行
% 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 + =
减小字号Ctrl + -
显示快捷键?