/// <summary> /// The only constructor /// </summary> /// <param name="a">the text A which should be compared</param> /// <param name="b">the text B which should be compared</param> public MyersDiff(Sequence a, Sequence b) { this.a = a; this.b = b; middle = new MiddleEdit(a, b); calculateEdits(); }
/// <summary> /// The only constructor /// </summary> /// <param name="a">the text A which should be compared</param> /// <param name="b">the text B which should be compared</param> public MyersDiffAlgorithm(ISequence a, ISequence b) { this.a = a; this.b = b; middle = new MiddleEdit(a, b); CalculateEdits(); }
public ForwardEditPaths(MiddleEdit middleEdit) : base(middleEdit) { }
public BackwardEditPaths(MiddleEdit middleEdit) : base(middleEdit) { }
protected EditPaths(MiddleEdit middleEdit) { _middleEdit = middleEdit; }
/** * The only constructor * * @param a the text A which should be compared * @param b the text B which should be compared */ public MyersDiff(Sequence a, Sequence b) { this.a = a; this.b = b; middle = new MiddleEdit(a, b); calculateEdits(); }
protected int minK, maxK; // TODO: better explanation protected EditPaths(MiddleEdit middleEdit) { _middleEdit = middleEdit; }
internal ForwardEditPaths(MiddleEdit middleEdit) : base(middleEdit) { }
internal BackwardEditPaths(MiddleEdit middleEdit) : base(middleEdit) { }
internal BackwardEditPaths(MiddleEdit _enclosing) : base(_enclosing) { this._enclosing = _enclosing; }
internal EditPaths(MiddleEdit _enclosing) { this._enclosing = _enclosing; }