def add_parent(self, parent):
        parent.children.add(self)
        self.parents.add(parent)
Discard items in the queue if the queue is longer than the beam.
dataset/ETHPy150Open shonenada/flask-rbac/flask_rbac/model.py/RoleMixin.add_parent--crossover with--dataset/ETHPy150Open nltk/nltk/nltk/parse/pchart.py/BottomUpProbabilisticChartParser._prune