Class MyersDiff.MiddleEdit

java.lang.Object
org.eclipse.jgit.diff.MyersDiff.MiddleEdit
Enclosing class:
MyersDiff<S extends Sequence>

class MyersDiff.MiddleEdit extends Object
A class to help bisecting the sequences a and b to find minimal edit paths. As the arrays are reused for space efficiency, you will need one instance per thread. The entry function is the calculate() method.
  • Field Details

  • Constructor Details

    • MiddleEdit

      MiddleEdit()
  • Method Details

    • initialize

      void initialize(int beginA, int endA, int beginB, int endB)
    • calculate

      Edit calculate(int beginA, int endA, int beginB, int endB)