Function fromInfo

  • Internal

    Create a Bag from basic context information.

    Type Parameters

    • CTX

    • PROBLEM

    Parameters

    • row: number
    • col: number
    • p: PROBLEM
    • context: Stack<{
          col: number;
          context: CTX;
          row: number;
      }>

    Returns Bag<CTX, PROBLEM>