Skip to contents

The depth of the model: the number of features in its longest chain of requirements (one more than the highest level).

Usage

vp_depth(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_depth(band)
#> [1] 4