Skip to contents

The width of the model: the largest number of features none of which requires another (atomic sets count as one). By Dilworth's theorem it is also the smallest number of chains that cover all the features.

Usage

vp_width(model)

Arguments

model

A model, from vp_generate() or vp_read(), in its complete or its minimal form.

Value

An integer.

Examples

band <- vp_generate(vp_example("miband3.uvl"), or_graph = TRUE)
vp_width(band)
#> [1] 3