| phi.dist_structure | R Documentation |
Evaluate the coherent structure function phi: {0, 1}^m -> {0, 1} at a
component state vector state. By convention state[j] = 1 means
component j is functioning; phi(state) = 1 means the system is
functioning.
## S3 method for class 'dist_structure'
phi(x, state)
phi(x, state)
x |
A dist_structure object. |
state |
Integer or logical vector of length |
phi and min_paths() are dual primitives: if a subclass provides
only phi.<class>(), the default min_paths.dist_structure()
enumerates minimal subsets via phi; if a subclass provides only
min_paths.<class>(), the default phi.dist_structure() checks
whether state covers any minimal path. Subclasses providing both
must keep them consistent.
Integer scalar, 0 or 1.
min_paths() for the dual primitive; validate_dist_structure()
for construction-time checking.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.