Пример #1
0
    def getDDStructure(self):
        """Returns the type DD structure corresponding to this cobordism."""
        all_idems = self._getIdems()
        all_chords = self._getChords()
        all_chords = [self._StrandsFromChords(chord1, chord2)
                      for chord1, chord2 in all_chords]

        alg1 = self.start_pmc.getAlgebra(mult_one = True)
        alg2 = self.end_pmc.getAlgebra(mult_one = True)
        ddstr = DDStrFromChords(alg1, alg2, all_idems, all_chords)
        assert ddstr.testDelta()
        return ddstr
Пример #2
0
    def getDDStructure(self):
        """Returns the type DD structure corresponding to this dehn twist."""
        all_idems = self._getIdems()
        all_chords = []
        for chord_type in self._getChordsList():
            all_chords.extend(chord_type())
        all_chords = [self._StrandsFromChords(chord1, chord2)
                      for chord1, chord2 in all_chords]

        alg1 = self.start_pmc.getAlgebra(mult_one = True)
        alg2 = alg1
        ddstr = DDStrFromChords(alg1, alg2, all_idems, all_chords)
        assert ddstr.testDelta()
        return ddstr
Пример #3
0
 def getDDStructure(self):
     """Returns the type DD structure corresponding to this dehn twist."""
     self.all_idems = self._getIdems()
     self.all_chords = []
     for chord_type in self._PChords:
         chord_type(self)
     if self.orientation == NEG:
         self.all_chords = [(r.opp(), l.opp()) for l, r in self.all_chords]
     # mult_one = False case is more complicated
     alg1 = self.start_pmc.getAlgebra(mult_one = True)
     alg2 = alg1
     ddstr = DDStrFromChords(alg1, alg2, self.all_idems, self.all_chords)
     assert ddstr.testDelta()
     return ddstr
Пример #4
0
 def getDDStructure(self, abs_gr_info = None):
     """Returns the type DD structure corresponding to this arcslide."""
     self.all_idems = self.getIdems()
     self.all_chords = []
     if self.slide_type == UNDER_SLIDE:
         for chord_type in self._UChords:
             chord_type(self)
     else:
         for chord_type in self._OChords:
             chord_type(self)
     alg1 = self.start_pmc.getAlgebra()
     alg2 = self.end_pmc.opp().getAlgebra()
     ddstr = DDStrFromChords(alg1, alg2, self.all_idems, self.all_chords)
     if abs_gr_info is not None:
         self._getAbsGrading(ddstr, abs_gr_info)
     else:
         for gen in ddstr.getGenerators():
             base_gen = gen
             break
         ddstr.registerHDiagram(getArcslideDiagram(self), base_gen)
     return ddstr