home > kero > Documentation

For a network, each member is given a probability vector field, such that each member is capable of action “a1” or “a2” at each time step, each with a probability 0.5.

class Network:
  def attach_a_simple_probability_vector_field(self):
    return action_set, action_index_set


return action_set List of strings, [“a1”, “a2”].
return action_index_set List of integers, [0, 1].

Example Usage

See here.

kero version: 0.5.1 and above