alpaca/alpacka/agents/stochastic_mcts.py
def init_graph_node(self, graph_node=None):
        """Assigns the node's GraphNode, or creates a new one."""
        assert self._graph_node is None, 'Graph node initialized twice.'
        if graph_node is None:
            graph_node = GraphNode(self._init_value)
        self._graph_node = graph_node
Assigns the node's GraphNode, or creates a new one.
Assigns the node's GraphNode, or creates a new one.
Assigns the node ' s GraphNode or creates a new one .
def init_graph_node(self, graph_node=None):
        assert self._graph_node is None, 'Graph node initialized twice.'
        if graph_node is None:
            graph_node = GraphNode(self._init_value)
        self._graph_node = graph_node
def init_graph_node ( self , graph_node = None ) : assert self . _graph_node is None , 'Graph node initialized twice.' if graph_node is None : graph_node = GraphNode ( self . _init_value ) self . _graph_node = graph_node
Assigns the node's GraphNode, or creates a new one.
Assigns the node ' s GraphNode or creates a new one .
"""Assigns the node's GraphNode, or creates a new one."""
self
graph_node