| BranchBreakingOptions | R Documentation |
BranchBreakingOptions is an R6 class that defines the set of optiopns
required to perform branch breaking.
swapperA character vector indicating the branch swapping algorithm
to use. Options are either 'tbr' (the default) or 'spr'.
cluster_sizeAn integer value indicating the number of nodes
(clusters) to use during swapping. Applied only when swapper is
set to tbr. Larger clusters will result in faster swapping as
matrix size increases. If left as 0 (the default), cluster size will be
automatically determined.
safe_unclipA logical value indicating whether to use a safer but
slower method for updating buffers when clipping to find a better tree.
Applied only when swapper is set to tbr.
fill_onlyA logical value indicating whether to stop swapping when the tree buffer is full.
save_multipleA logical value indicating whether to save multiple trees during swapping.
random_clipA logical value indicating whether to randomize the tree clipping sequence.
new()BranchBreakingOptions$new( swapper = "tbr", cluster_size = 0, safe_unclip = FALSE, fill_only = FALSE, save_multiple = TRUE, random_clip = FALSE )
swapperA character vector indicating the branch swapping algorithm
to use. Options are either 'tbr' (the default) or 'spr'.
cluster_sizeAn integer value indicating the number of nodes
(clusters) to use during swapping. Applied only when swapper is
set to tbr. Larger clusters will result in faster swapping as
matrix size increases. If left as 0 (the default), cluster size will be
automatically determined.
safe_unclipA logical value indicating whether to use a safer but
slower method for updating buffers when clipping to find a better tree.
Applied only when swapper is set to tbr.
fill_onlyA logical value indicating whether to stop swapping when the tree buffer is full.
save_multipleA logical value indicating whether to save multiple trees during swapping.
random_clipA logical value indicating whether to randomize the tree clipping sequence.
print()BranchBreakingOptions$print(...)
...Ignored.
queue()BranchBreakingOptions$queue(...)
...Ignored.
clone()The objects of this class are cloneable with this method.
BranchBreakingOptions$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.