java.lang.Object
java.lang.Record
org.variantsync.diffdetective.variation.tree.view.relevance.spec.ConfigureSpec
All Implemented Interfaces:
Predicate<VariationNode<?,?>>, Source, Relevance

public record ConfigureSpec(FixTrueFalse.Formula config) extends Record implements Relevance
This class serves as a specification for Configure. Both classes must act semantically equivalent as a Relevance predicate. Whereas Configure is an implementation optimized to avoid SAT calls where necessary, the implementation in ConfigureSpec is kept simple by design to remain verifiable. ConfigureSpec tests a partial configuration against a variation tree or diff by checking each node individually. To this end ConfigureSpec uses the default, naive implementations of Relevance instead of providing optimized implementations for tree traversal as Configure does. This class is not intended for production use and rather is supposed to be used in tests.
Author:
Paul Bittner
  • Field Details

  • Constructor Details

    • ConfigureSpec

      public ConfigureSpec(org.prop4j.Node configuration)
    • ConfigureSpec

      public ConfigureSpec(FixTrueFalse.Formula config)
      Creates an instance of a ConfigureSpec record class.
      Parameters:
      config - the value for the config record component
  • Method Details