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:
KeyError – If neither a neighbor-list/mesh path nor
radiusis specified in the parameters.RuntimeError – If the transition graph made from the neighbor list is not connected or not bidirectional.