Expand description
This crate provides a parser for the HOA format.
Modules§
Structs§
- Acceptance
Signature - An acceptance signature is a vector of acceptance set identifiers, it is associated with an edge.
- Alias
Name - Aliases are also named by a string.
- Body
- Represents the body of a HOA automaton. In essence, this is just a vector of
State
s. - Edge
- Represents an edge in a HOA automaton. It contains the
crate::LabelExpression
, theStateConjunction
and theAcceptanceSignature
of the edge. - Header
- Represents the header of a HOA file, consists of a set of
HeaderItem
s. - HoaAutomaton
- Represents a parsed HOA automaton. It consists of a the version string,
a
Header
and aBody
. The header contains all the information about the automaton (e.g. the number of states, the acceptance condition, aliases etc.) and the body contains the actual transitions. - HoaBool
- Represents a boolean value in the HOA format.
- Label
- Newtype wrapper around a
crate::LabelExpression
, implementsDeref
. - State
- Represents a state in a HOA automaton. It contains the
Id
of the state, an optional comment and a list of outgoing edges. - State
Conjunction - Represents a conjunction over states of a HOA automaton, this is mostly used as the initial state of the automaton.
Enums§
- Abstract
Label Expression - Acceptance
Atom - An acceptance atom can be used to build an acceptance condition, each atom is either a positive or a negative acceptance set identifier.
- Acceptance
Condition - An acceptance condition is a positive boolean expression over
AcceptanceAtom
s. - Acceptance
Info - Used to give additional (human-readable) and optional information about the acceptance condition, more information can be obtained in the HOA docs.
- Acceptance
Name - Represents the name of a type of acceptance condition.
- From
HoaError - Represents the different types of error that can be encountered when parsing a
HoaAutomaton
. - Header
Item - Represents a header item in a HOA file, for more information on each element, see the HOA format specification. The multiplicity of each element is given in parenthesis.
- Label
Expression - Property
- Represents properties of an automaton. For more information see the documentation of the HOA format.
Constants§
Functions§
Type Aliases§
- Aliases
- Stores information on aliases, it holds a vector of pairs of alias names and label expression. This can be used to unalias an automaton.
- Atomic
Proposition - An atomic proposition is named by a string.
- HoaAcceptance
- Represents an acceptance condition as it is encoded in a HOA automaton.
- Id
- The type of identifier used for states.