Uses of Interface
org.variantsync.diffdetective.variation.Label
Packages that use Label
Package
Description
-
Uses of Label in org.variantsync.diffdetective.examplesearch
Methods in org.variantsync.diffdetective.examplesearch with type parameters of type LabelModifier and TypeMethodDescriptionstatic final <L extends Label>
ExplainedFilter<VariationDiff<L>> ExampleCriterions.DefaultExampleConditions()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.DOES_NOT_CONTAIN_ANNOTATED_MACROS()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_A_COMPLEX_FORMULA_BEFORE_THE_EDIT()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_ADDITIONS()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_DELETIONS()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_EDITED_ARTIFACTS()static final <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_ELSE()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_NESTING()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.HAS_NESTING_BEFORE_EDIT()static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MAX_LINE_COUNT(int n) static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MIN_ANNOTATIONS(int n) static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MIN_CHANGES_TO_PCS(int n) static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MIN_FEATURES(int n) static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MIN_NODES_OF_TYPE(NodeType nt, int n) static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> ExampleCriterions.MIN_PARALLEL_EDITS(int n) -
Uses of Label in org.variantsync.diffdetective.experiments.thesis_bm
Methods in org.variantsync.diffdetective.experiments.thesis_bm with type parameters of type LabelModifier and TypeMethodDescriptionprivate <L extends Label>
ConstructionValidation.ComparisonResultConstructionValidation.compare(VariationDiff<L> a, VariationDiff<L> b) private <L extends Label>
voidConstructionValidation.parallelPreOrderWalk(Projection<L> nodeA, Projection<L> nodeB, BiConsumer<DiffNode<L>, DiffNode<L>> consumer, Set<DiffNode<L>> visited) private <L extends Label>
voidConstructionValidation.parallelPreOrderWalk(VariationDiff<L> nodeA, VariationDiff<L> nodeB, BiConsumer<DiffNode<L>, DiffNode<L>> consumer) -
Uses of Label in org.variantsync.diffdetective.gumtree
Classes in org.variantsync.diffdetective.gumtree with type parameters of type LabelModifier and TypeClassDescriptionclassVariationDiffAdapter<L extends Label>Adapter for running Gumtree's matching algorithms on the projections of variation diffs.classVariationTreeAdapter<L extends Label>Adapter for running Gumtree's matching algorithms on variation trees. -
Uses of Label in org.variantsync.diffdetective.mining.postprocessing
Classes in org.variantsync.diffdetective.mining.postprocessing with type parameters of type LabelModifier and TypeClassDescriptionclassPostprocessor<L extends Label>Generic Postprocessor for mined patterns.static final recordPostprocessor.Result<L extends Label>Result type for prostprocessing.Methods in org.variantsync.diffdetective.mining.postprocessing with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
Postprocessor<L> Postprocessor.Default()Creates the default filter to distill semantic patterns from frequent subgraphs. -
Uses of Label in org.variantsync.diffdetective.show
Methods in org.variantsync.diffdetective.show with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
GameEngineShow.baddiff(BadVDiff<L> badVDiff, String title, List<DiffNodeLabelFormat<L>> availableFormats) static <L extends Label>
GameEngineShow.diff(VariationDiff<L> d, String title, List<DiffNodeLabelFormat<L>> availableFormats) static <L extends Label>
GameEngineShow.tree(VariationTree<L> t, String title, List<DiffNodeLabelFormat<L>> availableFormats) -
Uses of Label in org.variantsync.diffdetective.show.variation
Classes in org.variantsync.diffdetective.show.variation with type parameters of type LabelMethods in org.variantsync.diffdetective.show.variation with type parameters of type LabelModifier and TypeMethodDescriptionVariationDiffApp.calculateLayout(VariationDiff<L> d, GraphvizExporter.LayoutAlgorithm layout, Format<L> format) static final <L extends Label>
List<DiffNodeLabelFormat<L>> VariationDiffApp.DEFAULT_FORMATS() -
Uses of Label in org.variantsync.diffdetective.variation
Classes in org.variantsync.diffdetective.variation with type parameters of type LabelModifier and TypeClassDescriptionclassVariationLabel<L extends Label>Extends an innerLabel, the object language, with variability, the meta language.Classes in org.variantsync.diffdetective.variation that implement LabelModifier and TypeClassDescriptionclassA label consisting of lines withline numberinformation for each line.classA label containing a list of lines represented asStrings.classVariationLabel<L extends Label>Extends an innerLabel, the object language, with variability, the meta language.Fields in org.variantsync.diffdetective.variation declared as LabelMethods in org.variantsync.diffdetective.variation with type parameters of type LabelModifier and TypeMethodDescriptionVariationUnparser.unparseDiff(VariationDiff<L> diff) UnparseVariationDiffs into aString.VariationUnparser.unparseTree(VariationTree<L> tree) UnparseVariationTrees into aString.Methods in org.variantsync.diffdetective.variation that return LabelModifier and TypeMethodDescriptionLabel.clone()Creates a deep copy of this label.default LabelLabel.withoutTimeDependentState(Time time) Returns a deep copy where the state that is only valid attimeis set to its default value.default LabelLabel.withTimeDependentStateFrom(Label other, Time time) Returns a deep copy where the state that is only valid attimeis copied fromother.Methods in org.variantsync.diffdetective.variation with parameters of type LabelModifier and TypeMethodDescriptionstatic booleanLabel.observablyEqual(Label a, Label b) Tests whether two labels are observably equal.DiffLinesLabel.withTimeDependentStateFrom(Label otherLabel, Time time) Returns a deep copy where the line numbers attimeare copied fromotherLabel.default LabelLabel.withTimeDependentStateFrom(Label other, Time time) Returns a deep copy where the state that is only valid attimeis copied fromother. -
Uses of Label in org.variantsync.diffdetective.variation.diff
Classes in org.variantsync.diffdetective.variation.diff with type parameters of type LabelModifier and TypeClassDescriptionclassImplementation of a node in aVariationDiff.private static classDiffNode.TimeDependentState<L extends Label>Bundles all the state that may be different before and after an edit.classProjection<L extends Label>A view of aDiffNodeas variation node at a specific time.final recordProjectionSource<L extends Label>interfaceVariabilityAwareDiffer<L extends Label>A generic interface for creating variation diffs from two states represented as text.interfaceVariabilityAwareTreeDiffer<L extends Label>classVariationDiff<L extends Label>Implementation of variation tree diffs from our ESEC/FSE'22 paper.Methods in org.variantsync.diffdetective.variation.diff with type parameters of type LabelModifier and TypeMethodDescriptionDiffNode.createArtifact(DiffType diffType, DiffLineNumber fromLines, DiffLineNumber toLines, L label) The same asDiffNode.createArtifact(DiffType, DiffLineNumber, DiffLineNumber, String)but with a generic label.DiffNode.createRoot(L label) Creates a new root node.static <L extends Label>
VariationDiff<L> VariationDiff.fromTrees(VariationTree<L> before, VariationTree<L> after) private static <L extends Label>
booleanprivate static <L extends Label>
booleanDiffNode.isSameAsIgnoringLineNumbers(DiffNode<L> a, DiffNode<L> b, Set<DiffNode<L>> visited) static <T extends VariationNode<T,L1>, L1 extends Label, L2 extends Label>
DiffNode<L2> DiffNode.unchanged(Function<? super T, DiffNode<L2>> convert, VariationNode<T, L1> variationNode) Transforms aVariationNodeinto aDiffNodeby diffingvariationNodeto itself.static <T extends VariationNode<T,L1>, L1 extends Label, L2 extends Label>
DiffNode<L2> DiffNode.unchanged(Function<? super T, DiffNode<L2>> convert, VariationNode<T, L1> variationNode) Transforms aVariationNodeinto aDiffNodeby diffingvariationNodeto itself.static <T extends VariationNode<T,L>, L extends Label>
DiffNode<L> DiffNode.unchanged(VariationNode<T, L> variationNode) Transforms aVariationNodeinto aDiffNodeby diffingvariationNodeto itself.static <T extends VariationNode<T,L>, L extends Label>
DiffNode<L> DiffNode.unchangedFlat(VariationNode<T, L> variationNode) Transforms aVariationNodeinto aDiffNodeby diffingvariationNodeto itself. -
Uses of Label in org.variantsync.diffdetective.variation.diff.bad
Classes in org.variantsync.diffdetective.variation.diff.bad with type parameters of type LabelModifier and TypeClassDescriptionfinal recordA bad variation diff is a variation diff that has no subtree sharing.private static classBadVDiff.FromGoodNodeTranslation<L extends Label>Memoization of the VariationTreeNodes a DiffNode was converted to inBadVDiff.fromGood(VariationDiff).Methods in org.variantsync.diffdetective.variation.diff.bad with type parameters of type LabelModifier and TypeMethodDescriptionprivate static <L extends Label>
VariationTreeNode<L> BadVDiff.fromGood(DiffNode<L> n, BadVDiff.FromGoodNodeTranslation<L> nodeTranslation, Map<VariationTreeNode<L>, DiffType> coloring, Map<VariationTreeNode<L>, DiffLineNumberRange> lines) Performs aplainconversion of the given DiffNode n to a VariationTreeNode.BadVDiff.fromGood(VariationDiff<L> d) Creates a bad diff from a VariationDiff.private static <L extends Label>
VariationTreeNode<L> Plain conversion of DiffNodes to VariationTree nodes. -
Uses of Label in org.variantsync.diffdetective.variation.diff.construction
Methods in org.variantsync.diffdetective.variation.diff.construction with type parameters of type LabelModifier and TypeMethodDescriptionprivate static <L extends Label>
voidGumTreeDiff.addUnmapped(com.github.gumtreediff.matchers.MappingStore mappings, DiffNode<L> parent, VariationTreeAdapter<L> afterNode) Recursively addsafterNodetoparentreusing matched nodes.static <B extends VariationNode<B,L>, L extends Label>
DiffNode<L> GumTreeDiff.diffUsingMatching(DiffNode<L> before, VariationNode<B, L> after, com.github.gumtreediff.matchers.Matcher matcher) static <A extends VariationNode<A,L>, B extends VariationNode<B, L>, L extends Label>
DiffNode<L> GumTreeDiff.diffUsingMatching(VariationNode<A, L> before, VariationNode<B, L> after, com.github.gumtreediff.matchers.Matcher matcher) static <L extends Label>
VariationDiff<L> GumTreeDiff.diffUsingMatching(VariationTree<L> before, VariationTree<L> after) static <L extends Label>
VariationDiff<L> GumTreeDiff.diffUsingMatching(VariationTree<L> before, VariationTree<L> after, com.github.gumtreediff.matchers.Matcher matcher) private static <L extends Label>
voidGumTreeDiff.extractMatching(VariationDiffAdapter<L> src, VariationDiffAdapter<L> dst, com.github.gumtreediff.matchers.MappingStore result) Makes the implicit matching of aVariationDiffexplicit.GumTreeDiff.improveMatching(DiffNode<L> tree, com.github.gumtreediff.matchers.Matcher matcher) Runmatcheron the matching extracted fromtreeand modifytreein-place to reflect the new matching.private static <L extends Label>
voidGumTreeDiff.removeUnmapped(com.github.gumtreediff.matchers.MappingStore mappings, VariationDiffAdapter<L> root) Remove all nodes from theBEFOREprojection which aren't part of a mapping. -
Uses of Label in org.variantsync.diffdetective.variation.diff.filter
Classes in org.variantsync.diffdetective.variation.diff.filter with type parameters of type LabelModifier and TypeClassDescriptionclassDuplicateVariationDiffFilter<L extends Label>Filters all duplicates in a list of VariationDiffs regarding isomorphism.final classVariationDiffFilter<L extends Label>A filter on VariationDiffs that is equipped with some metadata T (e.g., for debugging or logging).Methods in org.variantsync.diffdetective.variation.diff.filter with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> VariationDiffFilter.Any()Returns a tagged predicate that always returns true and is tagged with the String"any".static <T,L extends Label>
TaggedPredicate<T, VariationDiff<? extends L>> VariationDiffFilter.Any(T metadata) Returns a tagged predicate that always returns true and is tagged with the given metadata.static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> VariationDiffFilter.consistent()Returns a tagged predicate that returns true iff the VariationDiff isconsistent.static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> VariationDiffFilter.hasAtLeastOneEditToVariability()Returns a tagged predicate that returns true iff the VariationDiff has at least one artifact node (HasNodeType.isArtifact()) that does not match any edit class ofProposedEditClasses.AddToPC,ProposedEditClasses.RemFromPC,ProposedEditClasses.Untouched.static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> VariationDiffFilter.moreThanOneArtifactNode()Returns a tagged predicate that returns true iff the VariationDiff has more than one artifact node (HasNodeType.isArtifact().static <L extends Label>
TaggedPredicate<String, VariationDiff<? extends L>> VariationDiffFilter.notEmpty()Returns a tagged predicate that returns true iff the VariationDiff is not empty (VariationDiff.isEmpty(). -
Uses of Label in org.variantsync.diffdetective.variation.diff.graph
Classes in org.variantsync.diffdetective.variation.diff.graph with type parameters of type LabelModifier and TypeClassDescriptionfinal recordFormalDiffGraph<L extends Label>A view on a VariationDiff that shows the VariationDiff as a list of nodes and edges.static final recordFormalDiffGraph.Edge<L extends Label>Methods in org.variantsync.diffdetective.variation.diff.graph with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
FormalDiffGraph<L> FormalDiffGraph.fromVariationDiff(VariationDiff<L> d) Creates a GraphView for a given VariationDiff. -
Uses of Label in org.variantsync.diffdetective.variation.diff.render
Classes in org.variantsync.diffdetective.variation.diff.render with type parameters of type LabelModifier and TypeClassDescriptionfinal recordRenderOptions<L extends Label>Configuration options to configure rendering of VariationDiffs.static classRenderOptions.Builder<L extends Label>Builder forRenderOptions.Methods in org.variantsync.diffdetective.variation.diff.render with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
RenderOptions<L> RenderOptions.DEFAULT()Default options.<L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<? extends L> tree, String treeAndFileName, Path directory, RenderOptions<? super L> options) <L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<? extends L> tree, String treeAndFileName, Path directory, RenderOptions<? super L> options, LineGraphExportOptions<? super L> exportOptions) InvokesVariationDiffRenderer.render(VariationDiff, String, Path, RenderOptions, LineGraphExportOptions, BiFunction)with the a default tree header factory.private <L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<? extends L> tree, String treeAndFileName, Path directory, RenderOptions<? super L> options, LineGraphExportOptions<? super L> exportOptions, BiFunction<String, Source, String> treeHeader) Renders the given VariationDiff to an image file.<L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<L> tree, String treeAndFileName, Path directory) <L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<L> tree, GitPatch patch, Path directory, RenderOptions<? super L> options) <L extends Label>
booleanVariationDiffRenderer.render(VariationDiff<L> tree, GitPatch patch, Path directory, RenderOptions<? super L> options, LineGraphExportOptions<? super L> exportOptions) InvokesVariationDiffRenderer.render(VariationDiff, String, Path, RenderOptions, LineGraphExportOptions)by creating a name for the tree and its produced image file.<L extends Label>
booleanVariationDiffRenderer.renderFile(Path lineGraphFile, RenderOptions<? super L> options) Renders the given linegraph file with the given options.<L extends Label>
booleanVariationDiffRenderer.renderWithTreeFormat(VariationDiff<? extends L> tree, String treeAndFileName, Path directory, RenderOptions<? super L> options) InvokesVariationDiffRenderer.render(VariationDiff, String, Path, RenderOptions, LineGraphExportOptions, BiFunction)with the a default tree header factory. -
Uses of Label in org.variantsync.diffdetective.variation.diff.serialize
Classes in org.variantsync.diffdetective.variation.diff.serialize with type parameters of type LabelModifier and TypeInterfaceDescriptioninterfaceCommon interface for serialisation of a singleVariationDiff.classFormat used for exporting aVariationDiff.classGraphvizExporter<L extends Label>Exporter for the Graphviz dot format.classLineGraphExporter<L extends Label>Exporter that converts a single VariationDiff's nodes and edges to linegraph.final recordLineGraphExportOptions<L extends Label>Options necessary for exporting a line graph.final recordLineGraphImportOptions<L extends Label>Options necessary for importing a line graph.final recordStyledEdge<L extends Label>Product of all data relevant for exporting a single edge.final classTikzExporter<L extends Label>Exporter for TikZ pictures which can be embedded into a LaTeX document.Methods in org.variantsync.diffdetective.variation.diff.serialize with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
voidGraphvizExporter.layoutNodesIn(VariationDiff<L> variationDiff, Format<? super L> format, GraphvizExporter.LayoutAlgorithm algorithm, TriConsumer<Integer, Double, Double> positionNode) static <L extends Label>
LineGraphExport.StatisticLineGraphExport.toLineGraphFormat(Iterable<VariationDiff<L>> trees, LineGraphExportOptions<? super L> options, OutputStream destination) Exports the given VariationDiffs that originated from a repository with the given name.static <L extends Label>
VariationDiffSerializeDebugDataLineGraphExport.toLineGraphFormat(VariationDiff<? extends L> variationDiff, LineGraphExportOptions<? super L> options, OutputStream destination) Exports the given VariationDiff to a linegraph String. -
Uses of Label in org.variantsync.diffdetective.variation.diff.serialize.edgeformat
Classes in org.variantsync.diffdetective.variation.diff.serialize.edgeformat with type parameters of type LabelModifier and TypeClassDescriptionclassChildOrderEdgeFormat<L extends Label>An edge format encoding the child index of this edge.classDefaultEdgeLabelFormat<L extends Label>Default implementation ofEdgeLabelFormat.classEdgeLabelFormat<L extends Label>Reads and writes edges betweenDiffNodesfrom and to line graph. -
Uses of Label in org.variantsync.diffdetective.variation.diff.serialize.nodeformat
Classes in org.variantsync.diffdetective.variation.diff.serialize.nodeformat with type parameters of type LabelModifier and TypeClassDescriptionclassDebugDiffNodeFormat<L extends Label>Print NodeType, DiffType and Mappings for Annotations and Text for Artifacts.interfaceDiffNodeLabelFormat<L extends Label>Reads and writesDiffNodesfrom and to line graph.classEditClassesDiffNodeFormat<L extends Label>classFormulasAndLineNumbersNodeFormat<L extends Label>Produces labels of kindfromLine-toLine: NodeType, suffixed by the node's formula if it is an annotation.classIndexFormat<L extends Label>Labels nodes using their index in their parent list at all times.classLabelOnlyDiffNodeFormat<L extends Label>UsesDiffNode.getLabel()as the linegraph node label.classLineNumberFormat<L extends Label>Labels nodes using their line number in the source diff.classMappingsDiffNodeFormat<L extends Label>Print NodeType and DiffType and Mappings of Annotations.classPaperNodeFormat<L extends Label>classRenameRootNodeFormat<L extends Label>Replaces the label of the root node with"root".classShowNodeFormat<L extends Label>classTypeDiffNodeFormat<L extends Label>Labels are of the formDiffType_NodeType.Methods in org.variantsync.diffdetective.variation.diff.serialize.nodeformat with type parameters of type Label -
Uses of Label in org.variantsync.diffdetective.variation.diff.transform
Classes in org.variantsync.diffdetective.variation.diff.transform with type parameters of type LabelModifier and TypeClassDescriptionclassCutNonEditedSubtrees<L extends Label>This transformer removes all subtrees from a VariationDiff that are non-edited.final recordFeatureExpressionFilter<L extends Label>Deprecated.classNaiveMovedArtifactDetection<L extends Label>Finds artifact nodes whose label is exactly equal.classRelabelNodes<L extends Label>Transformer that changes the label of each node using a relable function.classRelabelRoot<L extends Label>Transformer that relabels the root of a VariationDiff.classRevertSomeChanges<L extends Label>This transformer reverts some changes in a variation diff.Fields in org.variantsync.diffdetective.variation.diff.transform declared as LabelMethods in org.variantsync.diffdetective.variation.diff.transform with type parameters of type LabelModifier and TypeMethodDescriptionNaiveMovedArtifactDetection.findArtifactTwins(VariationDiff<L> variationDiff) NaiveMovedArtifactDetection.findTwinOf(DiffNode<L> artifact, List<DiffNode<L>> artifactNodes) static <L extends Label>
voidCutNonEditedSubtrees.genericTransform(boolean keepDummy, VariationDiff<L> variationDiff) static <L extends Label>
voidCutNonEditedSubtrees.genericTransform(VariationDiff<L> variationDiff) -
Uses of Label in org.variantsync.diffdetective.variation.diff.traverse
Classes in org.variantsync.diffdetective.variation.diff.traverse with type parameters of type LabelModifier and TypeClassDescriptionclassVariationDiffTraversal<L extends Label>Class for traversing VariationDiffs and accumulating results.interfaceVariationDiffVisitor<L extends Label>Visitor forVariationDiffTraversals.Methods in org.variantsync.diffdetective.variation.diff.traverse with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
VariationDiffTraversal<L> Creates a new traversal that will invoke the given callback once for each node in a visited VariationDiff.static <L extends Label>
VariationDiffTraversal<L> VariationDiffTraversal.with(VariationDiffVisitor<L> visitor) Creates a traversal with the given visitor. -
Uses of Label in org.variantsync.diffdetective.variation.diff.view
Methods in org.variantsync.diffdetective.variation.diff.view with type parameters of type LabelModifier 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. -
Uses of Label in org.variantsync.diffdetective.variation.tree
Classes in org.variantsync.diffdetective.variation.tree with type parameters of type LabelModifier and TypeClassDescriptionclassVariationNode<T extends VariationNode<T,L>, L extends Label> A base class for views of a node in a variation tree.classVariationTree<L extends Label>Representation of a concrete variation tree with source information.classVariationTreeNode<L extends Label>A single node in a variation tree.Methods in org.variantsync.diffdetective.variation.tree with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
VariationTreeNode<L> VariationTreeNode.createArtifact(LineRange lineRange, L label) Convenience constructor for creating an artifact node of aVariationTree.static <L extends Label>
VariationTreeNode<L> VariationTreeNode.createRoot(L label) Convenience constructor for creating the root of aVariationTree.static <L extends Label>
VariationTreeNode<L> VariationTreeNode.fromID(int id, L label) Reconstructs a node from the givenidand label.static <L extends Label>
VariationTree<L> VariationTree.fromProjection(Projection<L> projection, Source source) static <T extends VariationNode<T,L>, L extends Label>
VariationTree<L> VariationTree.fromVariationNode(VariationNode<T, L> node, Source source) -
Uses of Label in org.variantsync.diffdetective.variation.tree.graph
Classes in org.variantsync.diffdetective.variation.tree.graph with type parameters of type LabelModifier and TypeClassDescriptionfinal recordFormalTreeGraph<L extends Label>A view on a VariationTree that shows the VariationTree as a list of nodes and edges.static final recordFormalTreeGraph.Edge<L extends Label>Methods in org.variantsync.diffdetective.variation.tree.graph with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
FormalTreeGraph<L> FormalTreeGraph.fromTree(VariationTree<L> t) Creates a GraphView for a given VariationTree. -
Uses of Label in org.variantsync.diffdetective.variation.tree.view
Methods in org.variantsync.diffdetective.variation.tree.view with type parameters of type LabelModifier and TypeMethodDescriptionstatic <L extends Label>
VariationTree<L> TreeView.tree(VariationTree<L> 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.