#NEWLINE# def getDistribution( self , state ) : #NEWLINE# #INDENT# dist = util . Counter ( ) #NEWLINE# for a in state . getLegalActions ( self . index ) : #NEWLINE# #INDENT# dist [ a ] = 1.0 #NEWLINE# #UNINDENT# dist . normalize ( ) #NEWLINE# return dist