odatse.algorithm.state module

class odatse.algorithm.state.ContinuousStateSpace(domain, info_param, rng, limitation)[source]

Bases: StateSpace

class odatse.algorithm.state.DiscreteStateSpace(domain, info_param, rng)[source]

Bases: StateSpace

_setup_neighbour(info_param)[source]

Set up the neighbor list for the discrete problem.

Parameters:

info_param (dict) – Dictionary containing algorithm parameters, including the path to the neighbor list file.

Raises:
  • ValueError – If the neighbor list path is not specified in the parameters.

  • RuntimeError – If the transition graph made from the neighbor list is not connected or not bidirectional.

class odatse.algorithm.state.StateSpace[source]

Bases: ABC