Uses of Interface
org.variantsync.diffdetective.variation.tree.view.relevance.Relevance
Packages that use Relevance
Package
Description
-
Uses of Relevance in org.variantsync.diffdetective.experiments.views
Methods in org.variantsync.diffdetective.experiments.views that return types with arguments of type RelevanceModifier and TypeMethodDescriptionViewAnalysis.generateRandomRelevances
(VariationDiff<DiffLinesLabel> d) Generates random relevance predicates for creating random views on the given variation diff d, as explained in Section 6.1 in our paper.Methods in org.variantsync.diffdetective.experiments.views with parameters of type RelevanceModifier and TypeMethodDescriptionprivate void
ViewAnalysis.runRelevanceExperiment
(Analysis analysis, VariationDiff<DiffLinesLabel> d, Relevance rho) Benchmark for view generation on the given variation diff with the given relevance.Method parameters in org.variantsync.diffdetective.experiments.views with type arguments of type RelevanceModifier and TypeMethodDescriptionprivate static <RelevanceParams,
RelevanceCandidates extends Collection<? extends RelevanceParams>>
voidViewAnalysis.addAll
(RelevanceCandidates source, Function<? super RelevanceCandidates, ? extends Collection<? extends Relevance>> prepare, Collection<Relevance> target) This is a convenience method for creating relevance predicates from their parameters.private static <RelevanceParams,
RelevanceCandidates extends Collection<? extends RelevanceParams>>
voidViewAnalysis.addAll
(RelevanceCandidates source, Function<? super RelevanceCandidates, ? extends Collection<? extends Relevance>> prepare, Collection<Relevance> target) This is a convenience method for creating relevance predicates from their parameters.private static <RelevanceParams,
RelevanceCandidates extends Collection<RelevanceParams>>
voidViewAnalysis.addRandomRelevance
(RelevanceCandidates source, Function<RelevanceCandidates, Relevance> pick, Collection<Relevance> target) This is a convenience method for creating a random relevance predicate from a collection of potential parameterisations.private static <RelevanceParams,
RelevanceCandidates extends Collection<RelevanceParams>>
voidViewAnalysis.addRandomRelevance
(RelevanceCandidates source, Function<RelevanceCandidates, Relevance> pick, Collection<Relevance> target) This is a convenience method for creating a random relevance predicate from a collection of potential parameterisations. -
Uses of Relevance in org.variantsync.diffdetective.experiments.views.result
Fields in org.variantsync.diffdetective.experiments.views.result declared as RelevanceModifier and TypeFieldDescriptionprivate final Relevance
ViewEvaluation.relevance
The field for therelevance
record component.Methods in org.variantsync.diffdetective.experiments.views.result that return RelevanceModifier and TypeMethodDescriptionViewEvaluation.relevance()
Returns the value of therelevance
record component.Constructors in org.variantsync.diffdetective.experiments.views.result with parameters of type RelevanceModifierConstructorDescriptionViewEvaluation
(String commit, String file, Relevance relevance, long msNaive, long msOptimized, ViewEvaluation.DiffStatistics diffStatistics, ViewEvaluation.DiffStatistics viewStatistics) Creates an instance of aViewEvaluation
record class. -
Uses of Relevance in org.variantsync.diffdetective.variation.diff.view
Fields in org.variantsync.diffdetective.variation.diff.view declared as RelevanceModifier and TypeFieldDescriptionprivate final Relevance
ViewSource.relevance
The field for therelevance
record component.Methods in org.variantsync.diffdetective.variation.diff.view that return RelevanceModifier and TypeMethodDescriptionViewSource.relevance()
Returns the value of therelevance
record component.Methods in org.variantsync.diffdetective.variation.diff.view with parameters of type RelevanceModifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiff<L>DiffView.badgood
(VariationDiff<L> d, Relevance rho) An alternative algorithm for generating of views on variation diffs based on (1) removing cycles in the variation diff, (2) interpreting the resulting acyclic variation diff as a colored variation tree, (3) creating a view on the variation tree, (4) and finally reintroducing the removed cycles.static <L extends Label>
BiPredicate<Time,Projection<L>> DiffView.computeWhenNodesAreRelevant
(VariationDiff<L> d, Relevance rho) Translates a relevance predicate for nodes on variation trees to a relevance predicate on nodes in a variation diff.static <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho) This function generates a view on the given variation diff by generating views on the underlying variation trees, and then differencing these tree views.private static <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho, String[] projectionViewText) This method is not intended to be used directly and exists for optimization purposes only.static <L extends Label>
VariationDiff<DiffLinesLabel>DiffView.naive
(VariationDiff<L> d, Relevance rho, BiPredicate<Time, Projection<L>> inView) This method is not intended to be used directly and exists for optimization purposes only.static <L extends Label>
VariationDiff<L>DiffView.optimized
(VariationDiff<L> d, Relevance rho) This function generates a view on the given variation diff by determining the times of relevance for each node.static <L extends Label>
VariationDiff<L>DiffView.optimized
(VariationDiff<L> d, Relevance rho, BiPredicate<Time, Projection<L>> inView) This method is not intended to be used directly and exists for optimization purposes only.Constructors in org.variantsync.diffdetective.variation.diff.view with parameters of type RelevanceModifierConstructorDescriptionViewSource
(VariationDiff<L> diff, Relevance relevance) Creates an instance of aViewSource
record class. -
Uses of Relevance in org.variantsync.diffdetective.variation.tree.view
Methods in org.variantsync.diffdetective.variation.tree.view with parameters of type RelevanceModifier and TypeMethodDescriptionstatic VariationTree<?>
TreeView.tree
(VariationTree<?> t, Relevance r) Creates a view on the given variation tree as described by the given relevance predicate.static <L extends Label>
voidTreeView.treeInline
(VariationTree<L> t, Relevance r) Mutates a variation tree inplace to a view on itself. -
Uses of Relevance in org.variantsync.diffdetective.variation.tree.view.relevance
Classes in org.variantsync.diffdetective.variation.tree.view.relevance that implement RelevanceModifier and TypeClassDescriptionclass
Relevance predicate that generates (partial) variants from variation trees.final record
Relevance predicate that searches for implementation artifacts in a variation tree.final record
Relevance predicate that traces a certain feature syntactically within a variation tree.final record
Relevance predicate that traces a certain feature semantically within a variation tree.Methods in org.variantsync.diffdetective.variation.tree.view.relevance with parameters of type RelevanceModifier and TypeMethodDescriptionstatic <TreeNode extends VariationNode<TreeNode,
?>>
voidRelevance.computeViewNodesCheckAll
(Relevance rho, TreeNode v, Consumer<TreeNode> markRelevant) Marks all nodes that should be contained within a view on the given tree.static String
Default implementation forObject.toString()
that can be reused by implementing classes.