mbus-backend
    Preparing search index...

    A container for Labels at a specific stop that maintains a Pareto frontier. Only keeps labels that are not dominated by any other label in the bag.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    labels: Label[] = []

    Methods

    • Attempts to add a label to the bag.

      Parameters

      Returns boolean

      True if the label was added (it was non-dominated), False otherwise.

    • Merges another bag's labels into this one.

      Parameters

      Returns boolean

      True if the merge resulted in any changes to this bag.