yawning_titan.envs.specific.graph_explore#

Classes

GraphExplore

A custom environment that follows the gym interface spec.

class yawning_titan.envs.specific.graph_explore.GraphExplore[source]#

A custom environment that follows the gym interface spec.

This environment emulates a network and enables an agent to select which node to visit, if it is not possible to move to the node the agent is denied the move.

Initialise environment.

metadata = {'render.modes': ['human']}#
NODES = 10#
random_seed = 1010#
GAME_MAX = 1000#
visualisation = None#
__init__()[source]#

Initialise environment.

step(action)[source]#

Execute one time step within the environment.

reset()[source]#

Reset the initial game configurations.

render(mode='live', close=False)[source]#

Render the environment to the screen so that it can be played in realtime.

close()[source]#

Remove all open visualisations.