class_docstr: <a id="History"></a>
  
  ## History
  
  History $h \in H$ is a sequence of actions including chance events,
   and $H$ is the set of all histories.
  
  This class should be extended with game specific logic.
class_docstr_tok: ["<","a","id=","''","History","''",">","<","\/a",">","#","#","History","History","$","h","\\in","H","$","is","a","sequence","of","actions","including","chance","events",",","and","$","H","$","is","the","set","of","all","histories",".","This","class","should","be","extended","with","game","specific","logic","."]
docstr: <a id="terminal_utility"></a>
  Utility of player $i$ for a terminal history.
  $u_i(h)$ where $h \in Z$
docstr_tok: ["<","a","id=","''","terminal_utility","''",">","<","\/a",">","Utility","of","player","$","i","$","for","a","terminal","history",".","$","u_i","(","h",")","$","where","$","h","\\in","Z","$"]
code: def terminal_utility(self, i: Player) -> float:
      """
      <a id="terminal_utility"></a>
      Utility of player $i$ for a terminal history.
      $u_i(h)$ where $h \in Z$
      """
      raise NotImplementedError()
  
imports: from typing import NewType, Dict, List, Callable, cast
  from labml import monit, tracker, logger, experiment
  from labml.configs import BaseConfigs, option
label_desc: Use image node_id 2 for calling the History obj's underlying member method code with example usage: obj.terminal_utility(i) without return types