'Cut off the vertex ancestor<-head in this multi-path
@param head: the head node
@param ancestor: the ancestor node to cut off'

def cut(self, head, ancestor=None):

    for p in self.paths:
        p.cut(head, ancestor)
    return self.clean()
