MCPcopy Create free account
hub / github.com/aviralkumar2907/CQL / IntIdDict

Class IntIdDict

d4rl/rlkit/pythonplusplus.py:329–377  ·  view source on GitHub ↗

Automatically assign int IDs to hashable objects. Usage: ``` id_map = IntIdDict() print(id_map['a']) print(id_map['b']) print(id_map['c']) print(id_map['a']) print(id_map['b']) print(id_map['a']) print('') print(id_map.get_inverse(0)) print(id_

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected