def anchor(self, drifting_t, anchored_t):
    '\n        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n        o -- [ D ] -- o  ==>  o -- [ A ] -- o\n\n        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n        Anchor `drifting_t` at `anchored_t`\n\n        Parameters\n        ----------\n        drifting_t :\n            Drifting time to anchor\n        anchored_t :\n            When to anchor `drifting_t`\n\n        '
    drifting_t = T(drifting_t)
    anchored_t = T(anchored_t)
    assert ((drifting_t in self) and drifting_t.drifting)
    assert anchored_t.anchored
    if (anchored_t not in self):
        self.add_node(anchored_t)
    self._merge(drifting_t, anchored_t)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

o -- [ D ] -- o  ==>  o -- [ A ] -- o

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Anchor `drifting_t` at `anchored_t`

Parameters
----------
drifting_t :
    Drifting time to anchor
anchored_t :
    When to anchor `drifting_t`
def anchor(self, drifting_t, anchored_t):
    '\n        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n        o -- [ D ] -- o  ==>  o -- [ A ] -- o\n\n        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n        Anchor `drifting_t` at `anchored_t`\n\n        Parameters\n        ----------\n        drifting_t :\n            Drifting time to anchor\n        anchored_t :\n            When to anchor `drifting_t`\n\n        '
    drifting_t = T(drifting_t)
    anchored_t = T(anchored_t)
    assert ((drifting_t in self) and drifting_t.drifting)
    assert anchored_t.anchored
    if (anchored_t not in self):
        self.add_node(anchored_t)
    self._merge(drifting_t, anchored_t)