Ejemplo n.º 1
0
 def __init__(self, a, b, slop=1, ordered=True, mindist=1):
     self.a = a
     self.b = b
     self.slop = slop
     self.ordered = ordered
     self.mindist = mindist
     isect = binary.IntersectionMatcher(a, b)
     super(SpanNear.SpanNearMatcher, self).__init__(isect)
Ejemplo n.º 2
0
 def __init__(self, a, b):
     self.a = a
     im = binary.IntersectionMatcher(a, b)
     super(SpanCondition._Matcher, self).__init__(im)
Ejemplo n.º 3
0
 def __init__(self, a, b):
     self.a = a
     self.b = b
     im = binary.IntersectionMatcher(a, b)
     super(SpanBefore._Matcher, self).__init__(im)