Exemplo n.º 1
0
 /// <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();
 }
Exemplo n.º 3
0
 public ForwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 4
0
 public BackwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 5
0
 protected EditPaths(MiddleEdit middleEdit)
 {
     _middleEdit = middleEdit;
 }
Exemplo n.º 6
0
 /**
  * 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();
 }
Exemplo n.º 7
0
 /// <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();
 }
Exemplo n.º 8
0
 public BackwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 9
0
 public ForwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 10
0
                protected int minK, maxK; // TODO: better explanation

                protected EditPaths(MiddleEdit middleEdit)
                {
                    _middleEdit = middleEdit;
                }
Exemplo n.º 11
0
 internal ForwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 12
0
 internal BackwardEditPaths(MiddleEdit middleEdit)
     : base(middleEdit)
 {
 }
Exemplo n.º 13
0
 internal BackwardEditPaths(MiddleEdit _enclosing) : base(_enclosing)
 {
     this._enclosing = _enclosing;
 }
Exemplo n.º 14
0
 internal EditPaths(MiddleEdit _enclosing)
 {
     this._enclosing = _enclosing;
 }