class_docstr: Records progress through the set of constraints for each item in the beam
  using a trie.
class_docstr_tok: ["Records","progress","through","the","set","of","constraints","for","each","item","in","the","beam","using","a","trie","."]
code: def __str__(self):
      gen_str = ",".join([str(node) for node in self.generated])
      return f"{self.name}/{self.bank}({gen_str})x{self.num_completed}"
  
imports: from collections import Counter
  from typing import List, Optional, Set, Tuple
  import torch
label_desc: Use image node_id 3 for calling the UnorderedConstraintState obj's underlying member method code with example usage: obj.__str__() and returns: self, str, self, str, gen_str, str, self