Uses of Class
org.variantsync.diffdetective.variation.diff.VariationDiff
Packages that use VariationDiff
Package
Description
-
Uses of VariationDiff in org.variantsync.diffdetective.analysis
Fields in org.variantsync.diffdetective.analysis declared as VariationDiffModifier and TypeFieldDescriptionprotected VariationDiff<DiffLinesLabel> Analysis.currentVariationDiffFields in org.variantsync.diffdetective.analysis with type parameters of type VariationDiffModifier and TypeFieldDescriptionprivate final List<Transformer<VariationDiff<DiffLinesLabel>>> PreprocessingAnalysis.preprocessorsprivate ExplainedFilter<VariationDiff<? extends DiffLinesLabel>> FilterAnalysis.treeFilterMethods in org.variantsync.diffdetective.analysis that return VariationDiffModifier and TypeMethodDescriptionAnalysis.getCurrentVariationDiff()The currently processed patch.Constructor parameters in org.variantsync.diffdetective.analysis with type arguments of type VariationDiffModifierConstructorDescriptionFilterAnalysis(ExplainedFilter<VariationDiff<? extends DiffLinesLabel>> treeFilter) PreprocessingAnalysis(List<Transformer<VariationDiff<DiffLinesLabel>>> preprocessors) -
Uses of VariationDiff in org.variantsync.diffdetective.analysis.logic
Methods in org.variantsync.diffdetective.analysis.logic with parameters of type VariationDiffModifier and TypeMethodDescriptionstatic List<org.prop4j.Node> UniqueViewsAlgorithm.getUniquePartialConfigs(VariationDiff<?> d, boolean simplify) Build a set of partial configurations such that - every config denotes a view of the given diff - every view is uniqe - every possible view is included This works by deselecting any subset of presence conditions of the artifacts in the given diff. -
Uses of VariationDiff in org.variantsync.diffdetective.diff.git
Fields in org.variantsync.diffdetective.diff.git declared as VariationDiffModifier and TypeFieldDescriptionprivate final VariationDiff<DiffLinesLabel> PatchDiff.variationDiffMethods in org.variantsync.diffdetective.diff.git that return VariationDiffModifier and TypeMethodDescriptionPatchDiff.getVariationDiff()Returns the VariationDiff for this patch.Constructors in org.variantsync.diffdetective.diff.git with parameters of type VariationDiffModifierConstructorDescriptionPatchDiff(CommitDiff commitDiff, org.eclipse.jgit.diff.DiffEntry diffEntry, String fullDiff, VariationDiff<DiffLinesLabel> variationDiff) Creates a new PatchDiff. -
Uses of VariationDiff in org.variantsync.diffdetective.editclass
Methods in org.variantsync.diffdetective.editclass with parameters of type VariationDiffModifier and TypeMethodDescriptionbooleanEditClass.anyMatch(VariationDiff<?> t) Returns true iff this edit class matches at leat one node on the given tree. -
Uses of VariationDiff in org.variantsync.diffdetective.examplesearch
Fields in org.variantsync.diffdetective.examplesearch with type parameters of type VariationDiffModifier and TypeFieldDescriptionprivate final ExplainedFilter<VariationDiff<? extends DiffLinesLabel>> ExampleFinder.isGoodExampleMethods in org.variantsync.diffdetective.examplesearch that return types with arguments of type VariationDiffModifier 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()private static final ExplainedFilter<VariationDiff<? extends DiffLinesLabel>> Main.EXAMPLE_CRITERIONS()Modify this list to your requirements on a suitable example.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) Methods in org.variantsync.diffdetective.examplesearch with parameters of type VariationDiffModifier and TypeMethodDescriptionprivate static booleanExampleCriterions.diffIsNotLongerThan(VariationDiff<?> t, int maxLines) private voidExampleFinder.exportExample(Analysis analysis, String tdiff, VariationDiff<DiffLinesLabel> vdiff, Path outputDir) (package private) static StringExampleFinder.getDiff(VariationDiff<?> tree) private static booleanExampleCriterions.hasAnnotatedMacros(VariationDiff<?> variationDiff) private static booleanExampleCriterions.hasAtLeastOneComplexFormulaBeforeTheEdit(VariationDiff<?> variationDiff) Constructor parameters in org.variantsync.diffdetective.examplesearch with type arguments of type VariationDiffModifierConstructorDescriptionExampleFinder(ExplainedFilter<VariationDiff<? extends DiffLinesLabel>> isGoodExample, VariationDiffRenderer renderer) Creates a new ExampleFinder. -
Uses of VariationDiff in org.variantsync.diffdetective.experiments.thesis_bm
Methods in org.variantsync.diffdetective.experiments.thesis_bm that return VariationDiffModifier and TypeMethodDescriptionprivate VariationDiff<DiffLinesLabel> ConstructionValidation.parseVariationTree(Analysis analysis, org.eclipse.jgit.revwalk.RevCommit commit) Methods in org.variantsync.diffdetective.experiments.thesis_bm with parameters of type VariationDiffModifier and TypeMethodDescriptionprivate <L extends Label>
ConstructionValidation.ComparisonResultConstructionValidation.compare(VariationDiff<L> a, VariationDiff<L> b) private voidConstructionValidation.counts(VariationDiff<DiffLinesLabel> tree, ConstructionValidation.VariationDiffStatistics statistics) private <L extends Label>
voidConstructionValidation.parallelPreOrderWalk(VariationDiff<L> nodeA, VariationDiff<L> nodeB, BiConsumer<DiffNode<L>, DiffNode<L>> consumer) -
Uses of VariationDiff in org.variantsync.diffdetective.experiments.views
Methods in org.variantsync.diffdetective.experiments.views with parameters of type VariationDiffModifier 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.private voidViewAnalysis.runRelevanceExperiment(Analysis analysis, VariationDiff<DiffLinesLabel> d, Relevance rho) Benchmark for view generation on the given variation diff with the given relevance. -
Uses of VariationDiff in org.variantsync.diffdetective.experiments.views.result
Methods in org.variantsync.diffdetective.experiments.views.result with parameters of type VariationDiffModifier and TypeMethodDescriptionViewEvaluation.DiffStatistics.of(VariationDiff<?> d) Gathers statistics of a given variation diff. -
Uses of VariationDiff in org.variantsync.diffdetective.internal
Methods in org.variantsync.diffdetective.internal with parameters of type VariationDiffModifier and TypeMethodDescriptionstatic StringTextDiffToTikz.exportAsTikz(VariationDiff<DiffLinesLabel> variationDiff, GraphvizExporter.LayoutAlgorithm layout) -
Uses of VariationDiff in org.variantsync.diffdetective.mining
Methods in org.variantsync.diffdetective.mining that return types with arguments of type VariationDiffModifier and TypeMethodDescriptionstatic List<Transformer<VariationDiff<DiffLinesLabel>>> VariationDiffMiner.Postprocessing(Repository repository) -
Uses of VariationDiff in org.variantsync.diffdetective.mining.postprocessing
Fields in org.variantsync.diffdetective.mining.postprocessing with type parameters of type VariationDiffModifier and TypeFieldDescriptionprivate final ExplainedFilter<VariationDiff<L>> Postprocessor.filtersprivate final List<VariationDiff<L>> Postprocessor.Result.processedTreesThe field for theprocessedTreesrecord component.private final List<Transformer<VariationDiff<L>>> Postprocessor.transformersMethods in org.variantsync.diffdetective.mining.postprocessing that return types with arguments of type VariationDiffModifier and TypeMethodDescriptionstatic List<VariationDiff<DiffLinesLabel>> MiningPostprocessing.parseFrequentSubgraphsIn(Path path) Parses all linegraph files in the given directory or file as patterns (i.e., as DiffGraphs).Postprocessor.Result.processedTrees()Returns the value of theprocessedTreesrecord component.Method parameters in org.variantsync.diffdetective.mining.postprocessing with type arguments of type VariationDiffModifier and TypeMethodDescriptionPostprocessor.postprocess(List<VariationDiff<L>> frequentSubgraphs) Performs the postprocessing described by this Postprocessor object on the list of subgraphs.static voidMiningPostprocessing.postprocessAndInterpretResults(List<VariationDiff<DiffLinesLabel>> frequentSubgraphs, Postprocessor<DiffLinesLabel> postprocessor, Consumer<String> printer, VariationDiffRenderer renderer, RenderOptions<? super DiffLinesLabel> renderOptions, Path outputDir) Constructor parameters in org.variantsync.diffdetective.mining.postprocessing with type arguments of type VariationDiffModifierConstructorDescriptionprivatePostprocessor(List<Transformer<VariationDiff<L>>> transformers, List<TaggedPredicate<String, ? super VariationDiff<L>>> namedFilters) Creates an instance of aResultrecord class. -
Uses of VariationDiff in org.variantsync.diffdetective.show
Methods in org.variantsync.diffdetective.show with parameters of type VariationDiffModifier and TypeMethodDescriptionstatic GameEngineShow.diff(VariationDiff<?> d) static GameEngineShow.diff(VariationDiff<?> d, String title) static <L extends Label>
GameEngineShow.diff(VariationDiff<L> d, String title, List<DiffNodeLabelFormat<L>> availableFormats) -
Uses of VariationDiff in org.variantsync.diffdetective.show.variation
Fields in org.variantsync.diffdetective.show.variation declared as VariationDiffMethods in org.variantsync.diffdetective.show.variation that return VariationDiffMethods in org.variantsync.diffdetective.show.variation with parameters of type VariationDiffModifier and TypeMethodDescriptionVariationDiffApp.calculateLayout(VariationDiff<L> d, GraphvizExporter.LayoutAlgorithm layout, Format<L> format) Constructors in org.variantsync.diffdetective.show.variation with parameters of type VariationDiffModifierConstructorDescriptionVariationDiffApp(String name, VariationDiff<L> variationDiff, Vec2 resolution, List<DiffNodeLabelFormat<L>> availableFormats) -
Uses of VariationDiff in org.variantsync.diffdetective.variation
Methods in org.variantsync.diffdetective.variation with parameters of type VariationDiffModifier and TypeMethodDescriptionVariationUnparser.unparseDiff(VariationDiff<L> diff) UnparseVariationDiffs into aString. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff
Fields in org.variantsync.diffdetective.variation.diff declared as VariationDiffModifier and TypeFieldDescriptionprivate final VariationDiff<L> ProjectionSource.originThe field for theoriginrecord component.Methods in org.variantsync.diffdetective.variation.diff that return VariationDiffModifier and TypeMethodDescriptionVariationDiff.deepCopy()Create a variation diff by diffing the content of twoReaders.default VariationDiff<L> Create a variation diff by diffing the content of twoStrings.default VariationDiff<L> Create a variation diff by diffing the content of twoPaths.default VariationDiff<DiffLinesLabel> VariabilityAwareTextDiffer.diff(Reader before, Reader after, Source beforeSource, Source afterSource) default VariationDiff<L> VariabilityAwareTreeDiffer.diff(Reader before, Reader after, Source beforeSource, Source afterSource) ComposesVariabilityAwareTreeDiffer.parseTree(java.io.Reader,org.variantsync.diffdetective.util.Source)andVariabilityAwareTreeDiffer.diffTrees(org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>,org.variantsync.diffdetective.variation.tree.VariationTree<org.variantsync.diffdetective.variation.DiffLinesLabel>)to create aVariationDiff.VariabilityAwareTreeDiffer.diffTrees(VariationTree<DiffLinesLabel> before, VariationTree<DiffLinesLabel> after) Creates aVariationDiffby diffing two variation trees.Invokes the given callback for each node in this VariationDiff.static VariationDiff<DiffLinesLabel> VariationDiff.fromDiff(String diff, Source source, VariationDiffParseOptions parseOptions) Parses a VariationDiff from the given unix diff.static VariationDiff<DiffLinesLabel> VariationDiff.fromFile(Path p, VariationDiffParseOptions parseOptions) Parses a VariationDiff from the given file.static VariationDiff<DiffLinesLabel> VariationDiff.fromFiles(Path beforeFile, Path afterFile, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Create a VariationDiff from two given text files.static VariationDiff<DiffLinesLabel> VariationDiff.fromLines(String before, String after, Source beforeSource, Source afterSource, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Creates a variation diff from to line-based text inputs.static VariationDiff<DiffLinesLabel> DiffGraph.fromNodes(Collection<DiffNode<DiffLinesLabel>> nodes) Deprecated.InvokesDiffGraph.fromNodes(Collection, Source))} with an unknown source.static VariationDiff<DiffLinesLabel> DiffGraph.fromNodes(Collection<DiffNode<DiffLinesLabel>> nodes, Source source) Deprecated.Takes a set of DiffNodes that forms a DiffGraph (i.e., similar to a VariationDiff but with no explicit root) and converts it to a VariationDiff by equipping it with a synthetic root node.static <L extends Label>
VariationDiff<L> VariationDiff.fromTrees(VariationTree<L> before, VariationTree<L> after) ProjectionSource.origin()Returns the value of theoriginrecord component.default VariationDiff<DiffLinesLabel> Parses theline diffinto aVariationDiffusing the options fromVariabilityAwareTextDiffer.getParseOptions().VariationDiff.traverse(VariationDiffVisitor<L> visitor) Traverse this VariationDiff with the given visitor.Methods in org.variantsync.diffdetective.variation.diff that return types with arguments of type VariationDiffModifier and TypeMethodDescriptionstatic org.variantsync.functjonal.Result<VariationDiff<DiffLinesLabel>, List<DiffError>> VariationDiff.fromPatch(PatchReference patchReference, Repository repository) Parses a patch of a Git repository.Methods in org.variantsync.diffdetective.variation.diff with parameters of type VariationDiffModifier and TypeMethodDescriptionbooleanVariationDiff.isSameAs(VariationDiff<L> b) booleanVariationDiff.isSameAsIgnoringLineNumbers(VariationDiff<L> b) Constructors in org.variantsync.diffdetective.variation.diff with parameters of type VariationDiffModifierConstructorDescriptionProjectionSource(VariationDiff<L> origin, Time time) Creates an instance of aProjectionSourcerecord class. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.bad
Methods in org.variantsync.diffdetective.variation.diff.bad that return VariationDiffMethods in org.variantsync.diffdetective.variation.diff.bad with parameters of type VariationDiffModifier and TypeMethodDescriptionBadVDiff.fromGood(VariationDiff<L> d) Creates a bad diff from a VariationDiff. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.construction
Methods in org.variantsync.diffdetective.variation.diff.construction that return VariationDiffModifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel> JGitDiff.diff(String linesBefore, String linesAfter, Source sourceBefore, Source sourceAfter, org.eclipse.jgit.diff.DiffAlgorithm.SupportedAlgorithm algorithm, VariationDiffParseOptions options) Creates a variation diff from to line-based text inputs.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) -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.filter
Fields in org.variantsync.diffdetective.variation.diff.filter with type parameters of type VariationDiffModifier and TypeFieldDescriptionprivate final BiFunction<VariationDiff<L>, VariationDiff<L>, Boolean> DuplicateVariationDiffFilter.equalityprivate final BiFunction<VariationDiff<L>, VariationDiff<L>, Boolean> DuplicateVariationDiffFilter.equalityMethods in org.variantsync.diffdetective.variation.diff.filter that return types with arguments of type VariationDiffModifier 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.DuplicateVariationDiffFilter.filterDuplicates(List<VariationDiff<L>> treesWithDuplicates) Filters the given list by removing all duplicates according this filter's equality function.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 (isEmpty().Method parameters in org.variantsync.diffdetective.variation.diff.filter with type arguments of type VariationDiffModifier and TypeMethodDescriptionDuplicateVariationDiffFilter.filterDuplicates(List<VariationDiff<L>> treesWithDuplicates) Filters the given list by removing all duplicates according this filter's equality function.Constructor parameters in org.variantsync.diffdetective.variation.diff.filter with type arguments of type VariationDiffModifierConstructorDescriptionDuplicateVariationDiffFilter(BiFunction<VariationDiff<L>, VariationDiff<L>, Boolean> equalityCondition) Creates a new duplication filter that uses the given predicate to determine equality of VariationDiffs.DuplicateVariationDiffFilter(BiFunction<VariationDiff<L>, VariationDiff<L>, Boolean> equalityCondition) Creates a new duplication filter that uses the given predicate to determine equality of VariationDiffs. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.graph
Methods in org.variantsync.diffdetective.variation.diff.graph with parameters of type VariationDiffModifier and TypeMethodDescriptionstatic <L extends Label>
FormalDiffGraph<L> FormalDiffGraph.fromVariationDiff(VariationDiff<L> d) Creates a GraphView for a given VariationDiff. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.parse
Methods in org.variantsync.diffdetective.variation.diff.parse that return VariationDiffModifier and TypeMethodDescriptionstatic VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationDiff(BufferedReader fullDiff, Source source, VariationDiffParseOptions options) Default parsing method forVariationDiffs from diffs.static VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationDiff(String fullDiff, Source source, VariationDiffParseOptions parseOptions) The same asVariationDiffParser.createVariationDiff(BufferedReader, Source, VariationDiffParseOptions)but with the diff given as a single string with line breaks instead of aBufferedReader.static VariationDiff<DiffLinesLabel> VariationDiffParser.createVariationTree(BufferedReader file, Source source, VariationDiffParseOptions options) Parses a variation tree from a source file.private VariationDiff<DiffLinesLabel> VariationDiffParser.parse(Source source, org.apache.commons.lang3.function.FailableSupplier<VariationDiffParser.DiffLine, IOException> lines) Parses the line difffullDiff. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.render
Methods in org.variantsync.diffdetective.variation.diff.render with parameters of type VariationDiffModifier and TypeMethodDescriptionvoidPatchDiffRenderer.render(VariationDiff<? extends DiffLinesLabel> variationDiff, GitPatch patch, Path outputDirectory) Renders the given VariationDiff that originated from the given patch to the given output directory.<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.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 VariationDiff in org.variantsync.diffdetective.variation.diff.serialize
Methods in org.variantsync.diffdetective.variation.diff.serialize that return VariationDiffModifier and TypeMethodDescriptionprivate static VariationDiff<DiffLinesLabel> LineGraphImport.parseVariationDiff(String lineGraph, Path inFile, List<DiffNode<DiffLinesLabel>> diffNodeList, LineGraphImportOptions<DiffLinesLabel> options) Generates aVariationDifffrom the given, already parsed parameters.Methods in org.variantsync.diffdetective.variation.diff.serialize that return types with arguments of type VariationDiffModifier and TypeMethodDescriptionstatic List<VariationDiff<DiffLinesLabel>> LineGraphImport.fromFile(Path path, LineGraphImportOptions<DiffLinesLabel> options) Import all VariationDiffs from the given linegraph file.static List<VariationDiff<DiffLinesLabel>> LineGraphImport.fromLineGraph(BufferedReader lineGraph, Path originalFile, LineGraphImportOptions<DiffLinesLabel> options) Import all VariationDiffs from the given linegraph file.Methods in org.variantsync.diffdetective.variation.diff.serialize with parameters of type VariationDiffModifier and TypeMethodDescription<La extends L>
InputStreamGraphvizExporter.computeGraphvizLayout(VariationDiff<La> variationDiff, GraphvizExporter.LayoutAlgorithm algorithm, GraphvizExporter.OutputFormat outputFormat) Runs the Graphvizdotprogram returning its result.<La extends L>
voidTikzExporter.exportFullLatexExample(VariationDiff<La> variationDiff, Path destination) Exports a ready to compile LaTeX document containing a TikZ graph exported byTikzExporter.<La>exportVariationDiff(org.variantsync.diffdetective.variation.diff.VariationDiff<La>,java.io.OutputStream).<La extends L>
voidExporter.exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) Export avariationDiffintodestination.<La extends L>
voidGraphvizExporter.exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) ExportvariationDiffas Graphviz graph intodestination.<La extends L>
voidLineGraphExporter.exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) Export a line graph ofvariationDiffintodestination.<La extends L>
voidTikzExporter.exportVariationDiff(VariationDiff<La> variationDiff, OutputStream destination) ExportvariationDiffas TikZ graph intodestination.<La extends L>
voidTikzExporter.exportVariationDiff(VariationDiff<La> variationDiff, Function<DiffNode<La>, Vec2> nodeLayout, OutputStream destination, boolean escape) <La extends L>
voidTikzExporter.exportVariationDiff(VariationDiff<La> variationDiff, GraphvizExporter.LayoutAlgorithm algorithm, OutputStream destination) ExportvariationDiffas TikZ graph intodestination.<La extends L>
voidFormat.forEachEdge(VariationDiff<La> variationDiff, Consumer<StyledEdge<La>> callback) Iterates over all edges invariationDiffand callscallback, visiting parallel edges only once.<La extends L>
voidFormat.forEachNode(VariationDiff<La> variationDiff, Consumer<DiffNode<La>> callback) static <L extends Label>
voidGraphvizExporter.layoutNodesIn(VariationDiff<L> variationDiff, Format<? super L> format, GraphvizExporter.LayoutAlgorithm algorithm, TriConsumer<Integer, Double, Double> positionNode) static <L extends Label>
VariationDiffSerializeDebugDataLineGraphExport.toLineGraphFormat(VariationDiff<? extends L> variationDiff, LineGraphExportOptions<? super L> options, OutputStream destination) Exports the given VariationDiff to a linegraph String.Method parameters in org.variantsync.diffdetective.variation.diff.serialize with type arguments of type VariationDiffModifier and TypeMethodDescriptionstatic <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. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.transform
Fields in org.variantsync.diffdetective.variation.diff.transform with type parameters of type VariationDiffModifier and TypeFieldDescriptionprivate final Transformer<VariationDiff<DiffLinesLabel>> LabelWithEditClass.relabelNodesMethods in org.variantsync.diffdetective.variation.diff.transform that return types with arguments of type VariationDiffModifier and TypeMethodDescriptionList<Class<? extends Transformer<VariationDiff<DiffLinesLabel>>>> CollapseNestedNonEditedAnnotations.getDependencies()List<Class<? extends Transformer<VariationDiff<DiffLinesLabel>>>> LabelWithEditClass.getDependencies()Methods in org.variantsync.diffdetective.variation.diff.transform with parameters of type VariationDiffModifier and TypeMethodDescriptionNaiveMovedArtifactDetection.findArtifactTwins(VariationDiff<L> variationDiff) static <L extends Label>
voidCutNonEditedSubtrees.genericTransform(boolean keepDummy, VariationDiff<L> variationDiff) static <L extends Label>
voidCutNonEditedSubtrees.genericTransform(VariationDiff<L> variationDiff) voidCollapseNestedNonEditedAnnotations.transform(VariationDiff<DiffLinesLabel> variationDiff) voidCutNonEditedSubtrees.transform(VariationDiff<L> variationDiff) voidFeatureExpressionFilter.transform(VariationDiff<L> variationDiff) Deprecated.voidLabelWithEditClass.transform(VariationDiff<DiffLinesLabel> variationDiff) voidNaiveMovedArtifactDetection.transform(VariationDiff<L> variationDiff) voidRelabelNodes.transform(VariationDiff<L> variationDiff) voidRelabelRoot.transform(VariationDiff<L> variationDiff) voidRevertSomeChanges.transform(VariationDiff<L> d) -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.traverse
Methods in org.variantsync.diffdetective.variation.diff.traverse with parameters of type VariationDiffModifier and TypeMethodDescriptionvoidVariationDiffTraversal.visit(VariationDiff<L> tree) Start the traversal of the given tree at its root. -
Uses of VariationDiff in org.variantsync.diffdetective.variation.diff.view
Methods in org.variantsync.diffdetective.variation.diff.view that return VariationDiffModifier 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>
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.Methods in org.variantsync.diffdetective.variation.diff.view with parameters of type VariationDiffModifier 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 VariationDiff in org.variantsync.diffdetective.variation.tree
Methods in org.variantsync.diffdetective.variation.tree that return VariationDiffModifier and TypeMethodDescriptionVariationTree.toCompletelyUnchangedVariationDiff()VariationTree.toVariationDiff(Function<VariationTreeNode<L>, DiffNode<L>> nodeConverter)