Package: variplex 0.1.1

variplex: Analysis of Strong Dependency and Conflict Graphs of Variability Models

Computes and analyses the strong binary relationships of a variability model (a feature model, or the configuration space of a system such as the 'Linux' kernel): which features require others, which exclude each other and of which pairs at least one must be selected, in every valid configuration. Models are read in the Universal Variability Language (UVL) or as Boolean formulas in DIMACS format, such as those that 'KMax', 'KConfigReader', 'KconfigSampler' or 'TraVarT' produce from other notations. A satisfiability solver ('Glucose') finds the relationships; the resulting graphs are written as Pajek files and analysed with more than one hundred functions that return tibbles: atomic sets, hierarchy, conflicts, configuration and team planning, combinatorial testing, network patterns and the evolution of a model through its versions. Rules that involve three or more features at once are not represented in the graphs. UVL models are translated into Boolean logic as in Heradio et al. (2027) <doi:10.1016/j.scico.2026.103549>, the graphs are computed as in Heradio et al. (2026) <doi:10.1016/j.softx.2026.102663> and analysed as networks as in Sánchez-Ruiz et al. (2026) <doi:10.1007/978-3-032-40763-4_18>. A companion data set of graphs for 5,709 models is described in Heradio et al. (2026) <doi:10.5281/zenodo.17277788>.

Authors:Rubén Heradio [aut, cre, cph], Luis Cambelo [ctb, cph], Miguel A. Olivero [ctb, cph], José Manuel Sánchez Ruíz [ctb, cph], Alberto Pérez García-Plaza [ctb, cph], David Fernández Amorós [ctb, cph], Gilles Audemard [ctb, cph], Laurent Simon [ctb, cph], Niklas Eén [ctb, cph], Niklas Sörensson [ctb, cph], Dictino Chaos [ctb, cph], Terence Parr [ctb, cph], Sam Harwell [ctb, cph], The ANTLR Project [cph], The UVL parser contributors [cph]

variplex_0.1.1.tar.gz
variplex_0.1.1.zip(r-4.7-x86_64)variplex_0.1.1.zip(r-4.7-arm64)variplex_0.1.1.zip(r-4.6-x86_64)variplex_0.1.1.zip(r-4.6-arm64)variplex_0.1.1.zip(r-4.5-x86_64)
variplex_0.1.1.tgz(r-4.6-x86_64)variplex_0.1.1.tgz(r-4.6-arm64)variplex_0.1.1.tgz(r-4.5-x86_64)variplex_0.1.1.tgz(r-4.5-arm64)
variplex_0.1.1.tar.gz(r-4.7-arm64)variplex_0.1.1.tar.gz(r-4.7-x86_64)variplex_0.1.1.tar.gz(r-4.6-arm64)variplex_0.1.1.tar.gz(r-4.6-x86_64)
variplex_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
variplex/json (API)

# Install 'variplex' in R:
install.packages('variplex', repos = c('https://rheradio.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rheradio/variplex/issues

Pkgdown/docs site:https://rheradio.github.io

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

zlibcpp

5.26 score 8 scripts 26 downloads 126 exports 21 dependencies

Last updated from:5651ccd0dd. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK323
linux-devel-x86_64OK320
source / vignettesOK572
linux-release-arm64OK311
linux-release-x86_64OK240
macos-release-arm64OK419
macos-release-x86_64OK646
macos-oldrel-arm64OK343
macos-oldrel-x86_64OK788
windows-devel-arm64OK638
windows-devel-x86_64OK549
windows-release-arm64OK424
windows-release-x86_64OK502
windows-oldrel-x86_64OK433
wasm-releaseOK351

Exports:vp_alternative_groupsvp_atleastone_ofvp_atomic_setsvp_attachmentvp_aucvp_baselinevp_can_go_togethervp_candidate_groupsvp_chainsvp_changed_linksvp_checkvp_classifyvp_co_changevp_colouringvp_combinations_to_covervp_common_dependantsvp_common_requirementsvp_communitiesvp_community_historyvp_comparevp_compare_groupingsvp_conflict_covervp_conflicts_ofvp_consequencesvp_corenessvp_count_graph_productsvp_coveragevp_cut_featuresvp_degree_distributionvp_depthvp_disruptionsvp_dotvp_dot_comparevp_downsetvp_edit_typevp_erasvp_examplevp_expandvp_explain_conflictvp_explain_requiresvp_false_optionalvp_feature_churnvp_feature_groupsvp_feature_statesvp_feature_tablevp_feature_treevp_featuresvp_flip_flopsvp_forecast_sizevp_foundationsvp_functionsvp_generatevp_genuine_hubsvp_ginivp_growthvp_historyvp_history_applyvp_history_changesvp_history_sizesvp_hub_stabilityvp_igraphvp_implied_requiresvp_independent_partsvp_interaction_changesvp_kernelvp_kernel_linksvp_largest_compatible_setvp_largest_free_setvp_largest_unrelated_setvp_leavesvp_levelsvp_life_cyclevp_link_lifetimevp_linksvp_longest_chainvp_longest_decision_chainvp_migvp_min_sample_sizevp_minimalvp_most_decisivevp_odd_onesvp_oppositesvp_pairvp_partial_configurationvp_pick_samplevp_plotvp_plot_comparevp_power_lawvp_prediction_tablevp_primitive_atleastonevp_primitive_conflictsvp_readvp_read_historyvp_read_uvl_treevp_redundant_candidatesvp_renamevp_rename_candidatesvp_representativenessvp_required_byvp_requirementsvp_requires_from_conflictsvp_ripplevp_robustnessvp_roundsvp_sample_violationsvp_similar_featuresvp_skeletonvp_split_aftervp_splitting_decisionsvp_state_movesvp_subsetvp_summaryvp_team_linksvp_team_movesvp_team_ordervp_teamsvp_top_moversvp_tree_agreementvp_triangle_significancevp_trianglesvp_twinsvp_uncoveredvp_upsetvp_version_distancevp_warning_zonevp_width

Dependencies:clicpp11dplyrgenericsglueigraphjsonlitelatticelifecyclemagrittrMatrixpillarpkgconfigR6Rcpprlangtibbletidyselectutf8vctrswithr

Features, hierarchy and the whole model
Measuring each feature | Every measure of every feature | Four counts | What a decision settles | Measures on the skeleton | What a feature requires, excludes, or is required by | Genuine hubs | The warning zone | Layers and hierarchy | What a partial order is, on the band | Atomic sets | The skeleton | Levels, depth and the longest chain | Width and chains | Foundations and leaves | What a selection drags in, and what depends on it | A feature tree rebuilt from the graphs | Operations that need the feature tree | False-optional features | Does the tree hide layers? | Candidate redundant constraints | The whole model in numbers | One row per model | Are the files consistent? | Degree distributions and concentration | The degree distribution | The Gini coefficient: concentration in one number | References

Last update: 2026-10-26
Started: 2026-10-21

Following a model through time
Two versions | What changed between two versions | Comparing what was written | Seeing what changed | How far a written change reaches | What to retest after a change | Features that were probably renamed | A whole history | Sizes and changes, step by step | Growth laws | The shape of a model over time | The type of each step | Stable hubs and disruptions | Eras of a history | Communities over time | Features through time | Where new features attach | Hotspots | Features that change together | How long new links last, and the life of features | Features that flip | Looking ahead | Predicting the next version | References

Last update: 2026-10-26
Started: 2026-10-21

Limits and theory
One rule, three features, and every function | How much the graphs leave out: representativeness | The share of the configurations the graphs allow that are valid | Counting by trying every configuration, on a small model | The limits, operation by operation | What a high measure means, and what a low one does not | What the graphs cannot see | A rule that no pair can show | What is always true, and what may be missing | The kernel: a "no" is final, a "yes" is a good guess | Comparisons cannot see it either | How representative are the graphs? | Whole products | Wish lists | Measuring your own model | In real models | How to be sure | Features that are more than yes or no | What variplex does with each | What the formula leaves out: numbers and texts | Even two features | What is always true, and what may be missing, with numbers | What you can do | Why it is true: a proof | The results as a formula | Everything the results say is true | About one or two features, nothing is missing | A wish list is decided by its pairs | Beyond pairs, a "yes" can be wrong | What the theorems say about each result | With numbers | References

Last update: 2026-10-26
Started: 2026-10-21

The graphs and the files
Core, dead and variable features | The requires graph: "if I take this, I also get that" | Why so many arrows? | The excludes graph: "these two never go together" | The at-least-one graph: "one of the two, at least" | Why BLEv40 and BLEv42 are not joined | Everything about a pair | Atomic sets: features that always travel together | The minimal form: the graphs without repetitions | How to read the minimal form | Nothing is lost: vp_expand() | The kernel: "can these go together?" | The question | How the kernel is made | Reading the kernel | Three wish lists | What the kernel is good for | The three files | What the kernel is not | The two reports: what was decided, and how the run went | What was decided about each feature: __variables.csv | A summary of the run: __summary.json | Where the time went: timings and mig | Checking and explaining | Is everything consistent? vp_check() | Why? vp_explain_conflict() and vp_explain_requires() | Comparing versions | Two versions: the band as planned and as built | A feature that changed its name | Many versions: seven generations of the band | What is compared | A redesign: the Mi Band 3 to the Mi Band 4 | Using the results in other programs | The options of vp_generate() | Looking at the formula: keep_dimacs | Showing core features and abstract ones | Compatibility with version 1: legacy | Formulas made by other tools | When something is wrong | A dead feature | A model without any product | Errors and their classes | References

Last update: 2026-10-26
Started: 2026-10-21

Conflicts and configuration
Conflicts | Primitive conflicts | Why two features exclude each other | Groups of alternatives | The largest set of compatible features | Splitting the features into compatible groups | Features that behave identically | Alternative groups under a common parent | The fewest groups that state every conflict | Operations that need the at-least-one graph | Opposites, and the minimal at-least-one graph | Requirements explained by a conflict | Configuring | Everything about two features | Can these features go together? (wish lists) | Selecting some features and leaving others out | What some decisions force | The kernel | A safe order for the questions | The modal implication graph (MIG) | References

Last update: 2026-10-21
Started: 2026-10-21

Get started with variplex
What variplex does | Product lines, features and configurations | The problem: constraints have consequences | What variplex finds | Why it pays off | Two ways in | The example: the Mi Band 3 | Reading the model | How many bands are there? | Installation and first run | Installing | The first run | The files | A first look | Two forms of the same graphs | Three properties of the graphs | The one limit that every answer shares | References

Last update: 2026-10-21
Started: 2026-10-21

Patterns and statistics
Triangles | Communities | Robustness | Coreness of the conflicts | Is it a power law? | A baseline | Features that look alike | References

Last update: 2026-10-21
Started: 2026-10-21

Reading and drawing the results
The examples | The Mi Band 3 | More examples | Reading the results | One run | Many runs: a history | Graphs made by version 1 of Strong4VM | The minimal form | The minimal form and the variability model | Part of a model | The feature tree of a UVL model | Drawing the graphs | A drawing in one line | Every graph of the vignettes, in one line | References

Last update: 2026-10-21
Started: 2026-10-21

Teams and testing
Splitting the configuration among teams | Teams that never need to talk: independent parts | Cut features | Where two teams interfere | How independent each team is | Features that sit better in another team | A split proposed by the links | In which order the teams decide | Decisions that cut the model apart | Testing | How many combinations to cover | How much a sample covers, and what it misses | How small a sample can be | References

Last update: 2026-10-21
Started: 2026-10-21

Readme and manuals

Help Manual

Help pageTopics
Print a modelprint.vp_model
Groups of any features that all exclude each other (at most one per product)vp_alternative_groups
What leaving a feature out forcesvp_atleastone_of
Features always selected togethervp_atomic_sets
Where new features attachvp_attachment
How good a ranking is (area under the curve)vp_auc
What a random model of the same shape would givevp_baseline
Can these features be in one product? (a wish list)vp_can_go_together
Mutually exclusive children of one parent: the alternative groups a feature model would declarevp_candidate_groups
The fewest chains that cover all featuresvp_chains
The links gained and lostvp_changed_links
Are the files consistent?vp_check
Classify the variables of a formula without computing any graphvp_classify
Features whose links change in the same stepsvp_co_change
The features split into groups without conflictsvp_colouring
How many combinations a t-wise sample must covervp_combinations_to_cover
What needs both of two featuresvp_common_dependants
What two features both needvp_common_requirements
Groups of closely linked featuresvp_communities
Do communities stay the same?vp_community_history
What changed between two versionsvp_compare
How alike two groupings arevp_compare_groupings
The fewest 'at most one of' groups that state every conflictvp_conflict_cover
What a feature excludesvp_conflicts_of
What some decisions forcevp_consequences
How deep in the conflicts each feature sitsvp_coreness
How many products the graphs allow (small models)vp_count_graph_products
How much of them a sample coversvp_coverage
Single features that hold two parts togethervp_cut_features
How many features have each degreevp_degree_distribution
The length of the longest chain of requirementsvp_depth
Steps that changed far more than usualvp_disruptions
The Graphviz (DOT) source of a drawingvp_dot
The Graphviz (DOT) source of a drawing of what changedvp_dot_compare
What depends on some featuresvp_downset
Did a step restrict the model, relax it, or both?vp_edit_type
The history split into runs of alike versionsvp_eras
The example models that come with the packagevp_example
The complete graphs rebuilt from the minimal formvp_expand
Why two features exclude each othervp_explain_conflict
Why one feature requires anothervp_explain_requires
Optional features that are not really optionalvp_false_optional
The features that changed most over a history (hotspots)vp_feature_churn
Features grouped by their measuresvp_feature_groups
The state of every feature in every versionvp_feature_states
Every measure of every feature, one row eachvp_feature_table
A feature tree rebuilt from the skeletonvp_feature_tree
The features and their status (variable, core, dead)vp_features
Features that change state back and forthvp_flip_flops
Forecast the size of later versionsvp_forecast_size
Features that need nothingvp_foundations
Every function of the package, by topicvp_functions
Compute the strong dependency and conflict graphs of a variability modelvp_generate
The most required features, and whether that is their own meritvp_genuine_hubs
How unevenly a quantity is spreadvp_gini
How fast links grow with featuresvp_growth
Compute the graphs of every version of a modelvp_history
Any measure, version by versionvp_history_apply
What changed at every stepvp_history_changes
The size of every versionvp_history_sizes
Are the hubs the same from version to version?vp_hub_stability
The igraph object of one graphvp_igraph
The arrows that follow from others, and through whatvp_implied_requires
Parts of the model that no relationship ties togethervp_independent_parts
Combinations of two features a step made possible or impossible (and the tests they touch)vp_interaction_changes
The kernel: a small map for 'can these go together?'vp_kernel
The arrows and red lines of the kernelvp_kernel_links
The most features without a conflict among themvp_largest_compatible_set
The most features that are pairwise free (all three graphs)vp_largest_free_set
One such setvp_largest_unrelated_set
Features that nothing needsvp_leaves
The layer of each featurevp_levels
How features move between variable, core, dead, absentvp_life_cycle
How long new links lastvp_link_lifetime
The links of one graph, as a tibblevp_links
One longest chainvp_longest_chain
The longest chain of forced decisions (all three graphs)vp_longest_decision_chain
The modal implication graph: every implication between two decisionsvp_mig
A lower bound on the size of any covering samplevp_min_sample_size
The minimal form: what was written, roughlyvp_minimal
The features whose selection decides the mostvp_most_decisive
Alike in conflicts, different in requirementsvp_odd_ones
Pairs of which every product has exactly onevp_opposites
The four combinations of two features: which are possiblevp_pair
Is this mix of selected and left-out features possible?vp_partial_configuration
A small covering sample chosen from given configurationsvp_pick_sample
Draw a model, some links or a feature treevp_plot
Draw what changed between two versionsvp_plot_compare
Does a degree distribution follow a power law?vp_power_law
One row per feature and version, for predictionsvp_prediction_table
The at-least-one lines from which all others followvp_primitive_atleastone
The conflicts from which all others followvp_primitive_conflicts
Read the files of one run of Strong4VMvp_read
Read several runs: the versions of a modelvp_read_history
The feature tree of a UVL modelvp_read_uvl_tree
Written requirements that follow from othersvp_redundant_candidates
Rename features of a modelvp_rename
Features that were probably renamedvp_rename_candidates
The share of the configurations the graphs allow that are valid (GANAK)vp_representativeness
What requires a feature (its impact set)vp_required_by
What a feature requiresvp_requirements
Requirements explained by a conflict and an at-least-one linevp_requires_from_conflicts
How many consequences each written change hadvp_ripple
How the skeleton falls apart when hubs are removedvp_robustness
A safe order for asking about features, in roundsvp_rounds
Configurations of a sample that break a linkvp_sample_violations
Features most alike in one graphvp_similar_features
The arrows that do not follow from othersvp_skeleton
The independent parts of what is left after some decisionsvp_split_after
Single decisions that split the model most, taken before the teams startvp_splitting_decisions
Features that appeared, disappeared or changed statusvp_state_moves
Focus on part of a model (exact: no solver needed)vp_subset
One row of numbers per modelvp_summary
The links between features of different teams: where teams interferevp_team_links
Features with more links to another team than to their ownvp_team_moves
In which order teams decide, which decide together, which must agreevp_team_order
How independent each team is: links inside and outside, features it decides alonevp_teams
The features whose links changed mostvp_top_movers
Does the declared tree hide layers of requirements?vp_tree_agreement
Which kinds of triangle occur more, or less, often than by chancevp_triangle_significance
The four kinds of trianglevp_triangles
Features that behave identicallyvp_twins
Which combinations a sample missesvp_uncovered
What some features bring alongvp_upset
How far apart every two versions arevp_version_distance
Features both highly required and highly dependentvp_warning_zone
The largest number of features none of which requires anothervp_width