Class ConstructionValidation.ComparisonResult
java.lang.Object
org.variantsync.diffdetective.experiments.thesis_bm.ConstructionValidation.ComparisonResult
- All Implemented Interfaces:
Metadata<ConstructionValidation.ComparisonResult>
- Enclosing class:
ConstructionValidation
public static final class ConstructionValidation.ComparisonResult
extends Object
implements Metadata<ConstructionValidation.ComparisonResult>
Timing of a variation diff construction with a specific matching algorithm and quality results compared to another variation diff.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Duration of the matching computation.int
How many variation diffs are different to the compared variation diff.org.variantsync.functjonal.map.MergeMap<EditClass,
org.variantsync.functjonal.map.MergeMap<EditClass, Integer>> Counts of edit class flows (edit class pair of a projection of the compared variation diffs)int
How many variation diffs are equal to the compared variation diff.static final org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.ComparisonResult>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.ComparisonResult>
Metadata should be composable.void
setFromSnapshot
(LinkedHashMap<String, String> snap) snapshot()
Create a key-value store of the metadata that can be used for serialization.
-
Field Details
-
name
-
comparisonDuration
public long comparisonDurationDuration of the matching computation. -
equal
public int equalHow many variation diffs are equal to the compared variation diff. -
different
public int differentHow many variation diffs are different to the compared variation diff. -
editClassMovements
public org.variantsync.functjonal.map.MergeMap<EditClass,org.variantsync.functjonal.map.MergeMap<EditClass, editClassMovementsInteger>> Counts of edit class flows (edit class pair of a projection of the compared variation diffs) -
ISEMIGROUP
public static final org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.ComparisonResult> ISEMIGROUP
-
-
Constructor Details
-
ComparisonResult
public ComparisonResult() -
ComparisonResult
-
-
Method Details
-
semigroup
public org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.ComparisonResult> semigroup()Description copied from interface:Metadata
Metadata should be composable. Composition should be inplace to optimize performance.- Specified by:
semigroup
in interfaceMetadata<ConstructionValidation.ComparisonResult>
-
snapshot
Description copied from interface:Metadata
Create a key-value store of the metadata that can be used for serialization.- Specified by:
snapshot
in interfaceMetadata<ConstructionValidation.ComparisonResult>
- Returns:
- A LinkedHashMap that stores all relevant properties to export. The return type has to be a LinkedHashMap to obtain insertion-order iteration.
-
setFromSnapshot
- Specified by:
setFromSnapshot
in interfaceMetadata<ConstructionValidation.ComparisonResult>
-