state_opt.state_helper

Helper functions for checking validity of states and probability vectors.

Functions

__is_states_valid(states)

Check if states provided are valid.

__is_probs_valid(probs)

Check if probabilities provided are valid.

Module Contents

state_opt.state_helper.__is_states_valid(states)

Check if states provided are valid.

Parameters:

states (list[numpy.ndarray])

Return type:

bool

state_opt.state_helper.__is_probs_valid(probs)

Check if probabilities provided are valid.

Parameters:

probs (list[float])

Return type:

bool