View source: R/coherent_dist.R
| coherent_dist | R Documentation |
General-purpose constructor. Users supply a list of minimal path sets
(each a vector of component indices) and a list of component
distributions (each an algebraic.dist::dist object with parameters
baked in). The resulting object is a dist_structure and dist.
coherent_dist(min_paths, components, m = NULL)
min_paths |
List of integer vectors; each is a minimal path set. |
components |
List of |
m |
Optional integer. Inferred from |
An object of class
c("coherent_dist", "dist_structure", "univariate_dist", "dist").
# A bridge network with exponential components
sys <- coherent_dist(
min_paths = list(c(1, 4), c(2, 5), c(1, 3, 5), c(2, 3, 4)),
components = replicate(5, algebraic.dist::exponential(1), simplify = FALSE)
)
reliability(sys, 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.