Function fromState

  • Internal

    Create a Bag from the current state and a given problem.

    Note: Internal

    Type Parameters

    • CTX

    • PROBLEM

    Parameters

    • state: State<CTX>
    • p: PROBLEM

    Returns Bag<CTX, PROBLEM>