|
| constexpr | TuringStyleDynamicSymbolPattern (bool neg) |
| | Produce a trivial pattern. More...
|
| |
| constexpr | TuringStyleDynamicSymbolPattern (const SymbolType &key) |
| | Make a dynamic pattern that accepts a single key. More...
|
| |
| constexpr | TuringStyleDynamicSymbolPattern (const std::set< SymbolType > &keys) |
| | Make a dynamic pattern that accepts a set of keys. More...
|
| |
| constexpr | TuringStyleDynamicSymbolPattern (const std::set< SymbolType > &keys, bool neg) |
| | Make a dynamic pattern that accepts or rejects a set of keys. More...
|
| |
| virtual bool | match (const SymbolType &symbol, const std::map< SymbolType, State::MConfiguration::MConfiguration< SymbolType >> &context) const override |
| | Check is a symbol is accepted. More...
|
| |
| constexpr bool | operator== (const TuringStyleDynamicSymbolPattern< SymbolType > &other) const |
| | Equality operator. More...
|
| |
| constexpr bool | operator!= (const TuringStyleDynamicSymbolPattern< SymbolType > &other) const |
| | Non-equality operator. More...
|
| |
| constexpr bool | operator< (const TuringStyleDynamicSymbolPattern< SymbolType > &other) const |
| | Less than operator. Total order. More...
|
| |
| constexpr | DynamicSymbolPattern (bool neg) |
| | Produce a trivial pattern. More...
|
| |
| constexpr | DynamicSymbolPattern (const SymbolType &key) |
| | Make a dynamic pattern that accepts a single key. More...
|
| |
| constexpr | DynamicSymbolPattern (const std::set< SymbolType > &keys) |
| | Make a dynamic pattern that accepts a set of keys. More...
|
| |
| constexpr | DynamicSymbolPattern (const std::set< SymbolType > &keys, bool neg) |
| | Make a dynamic pattern that accepts or rejects a set of keys. More...
|
| |
| constexpr bool | matchAccordingToPredicate (const std::map< SymbolType, State::MConfiguration::MConfiguration< SymbolType > > &context, const std::function< bool(const State::MConfiguration::MConfiguration< SymbolType > &)> &predicate) const |
| | Test if a key match a given predicate in a given context. More...
|
| |
| constexpr bool | operator== (const DynamicSymbolPattern< SymbolType, State::MConfiguration::MConfiguration< SymbolType >, SymbolType > &other) const |
| | Equality operator. More...
|
| |
| constexpr bool | operator!= (const DynamicSymbolPattern< SymbolType, State::MConfiguration::MConfiguration< SymbolType >, SymbolType > &other) const |
| | Non-equality operator. More...
|
| |
| constexpr bool | operator< (const DynamicSymbolPattern< SymbolType, State::MConfiguration::MConfiguration< SymbolType >, SymbolType > &other) const |
| | Less than operator. More...
|
| |
| constexpr bool | isAlphaEquivalent (const DynamicSymbolPattern< SymbolType, State::MConfiguration::MConfiguration< SymbolType >, SymbolType > &other, const std::map< SymbolType, SymbolType > &rewriting) const |
| | Test if, given a renaming of keys, *this is alpha-equivalent to another DynamicSymbolPattern. More...
|
| |
|
| SymbolPattern ()=default |
| | The default constructor.
|
| |
|
| SymbolPattern (const SymbolPattern &)=default |
| | The default copy constructor.
|
| |
|
| SymbolPattern (SymbolPattern &&)=default |
| | The default move constructor.
|
| |
| SymbolPattern & | operator= (const SymbolPattern &)=default |
| | The default copy assignment operator. More...
|
| |
| SymbolPattern & | operator= (SymbolPattern &&)=default |
| | The default move assignment operator. More...
|
| |
|
virtual | ~SymbolPattern ()=default |
| | The default virtual destructor.
|
| |
| virtual bool | match (const SymbolType &symbol, const Context &context) const noexcept=0 |
| | Test whether a symbol match the pattern, given a context. More...
|
| |
template<typename SymbolType>
class TuringSim::Symbol::TuringStyleDynamicSymbolPattern< SymbolType >
A DynamicSymbolPattern with a predicate adapted to m-configuration.
- Template Parameters
-
| SymbolType | The type of symbols. |
Definition at line 247 of file turingMachineSymbolPattern.h.