Libraries Documentation

This page contains the Libraries Package documentation.

The metalibrary Module

Module provided central interface to all machine libraries.

cmpy.machines.libraries.metalibrary.library(index, *args, **kwargs)

Returns the library corresponding to the index.


index : int

The index identifying the library of machines. For each machine library, there could be additional required and optional parameters. Valid indexes are shown below:

0 : The recurrent portion of the topological epsilon machines

with uniform output probabilities out of each state. To use, call as library(0, n) where n is the desired number of states in each machine.