Package edu.jas.poly

Class Overlap

java.lang.Object
edu.jas.poly.Overlap
All Implemented Interfaces:
Serializable

public class Overlap extends Object implements Serializable
Container for overlap words. A container of four words l1, r1, l2, r2.
See Also:
  • Field Details

    • l1

      public final Word l1
    • r1

      public final Word r1
    • l2

      public final Word l2
    • r2

      public final Word r2
  • Constructor Details

  • Method Details

    • isOverlap

      public boolean isOverlap(Word u, Word v)
      Is word overlap.
      Parameters:
      u - word
      v - word
      Returns:
      true if l1 * u * r1 = l2 * v * r2, else false.
    • toString

      public String toString()
      Get the string representation.
      Overrides:
      toString in class Object
      See Also: