Crate rstm_rules

Crate rstm_rules 

Source
Expand description

Rules for the rstm framework

Modules§

error
This module defines the custom error type for handling various actor-related errors.
program
rule_map
traits
the traits defining compatible rules within the framework

Structs§

LearnedRule
Program
A Program defines an optional initial state along with a set of rules that dictate the behavior of the system.
Rule
The Rule implementation is a concrete representation of a single instruction, or rule, within a given Turing machine program. It encapsulates the necessary components to define the behavior of the Turing machine when it encounters a specific state and symbol.
RuleMap

Enums§

Error
the various errors that can occur in the state module

Traits§

Directive
Directive is a trait describing the tail of a typical Turing machine;
Instruction
The Instruction trait defines the expected behaviors of a particular rule within a Turing machine program.
RawSpace
The RawSpace trait establishes the basis for all rule spaces within the library.
RuleSpace
Scope
The Scope trait is used to describe objects containing information or references to the current state and symbol of a Turing machine.

Type Aliases§

HeadMap
A type alias for a HashMap with keys of type Head<Q, S> and values of type Tail<Q, S>.
Result
A type alias for a Result that uses the custom Error type