Class BadVDiff.FromGoodNodeTranslation<L extends Label>
java.lang.Object
org.variantsync.diffdetective.variation.diff.bad.BadVDiff.FromGoodNodeTranslation<L>
Memoization of the VariationTreeNodes a DiffNode was
converted to in
BadVDiff.fromGood(VariationDiff).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) VariationTreeNode<L> Returns the VariationTreeNode that represents the given DiffNode d at the given time t in the produced bad diff.(package private) voidRemember that the given DiffNode d was translated to the given VariationTreeNode v at time t.(package private) voidput(DiffNode<L> d, VariationTreeNode<L> v) Remember that the given DiffNode d was translated to the given VariationTreeNode v at all times d exists.
-
Field Details
-
translate
-
-
Constructor Details
-
FromGoodNodeTranslation
private FromGoodNodeTranslation()
-
-
Method Details
-
put
Remember that the given DiffNode d was translated to the given VariationTreeNode v at all times d exists.- Parameters:
d- The DiffNode from the initial good VariationDiff.v- The VariationTreeNode d was translated to.
-
put
Remember that the given DiffNode d was translated to the given VariationTreeNode v at time t.- Parameters:
d- The DiffNode from the initial good VariationDiff.t- The time at which the translated node v represents the initial DiffNode d.v- The VariationTreeNode d was translated to.
-
get
Returns the VariationTreeNode that represents the given DiffNode d at the given time t in the produced bad diff.- Parameters:
d- The DiffNode from the initial good VariationDiff.t- The time for which we seek the node that represents the initial DiffNode d.
-