Description Usage Arguments Value
The following routine returns a list of all subsets of a given set for which a specified property is TRUE
.
It is assumed that if the property is FALSE
for any particular subset, it is also FALSE
for all supersets of that subset.
This enables a branch search strategy to be used to obviate the need to search over supersets of subsets already eliminated from consideration.
It is used within the hierarchical search step of checkallmodels
.
1 | subsetsearch(n, checkfun, testnull = TRUE, ...)
|
n |
an integer such that the search is over all subsets of \{1,...,n\} |
checkfun |
a function which takes arguments |
testnull |
If |
... |
other arguments |
A list of all subsets for which the value is TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.