|
| constexpr | TuringStyleMixedSymbolPattern (const std::set< SymbolType > &symbols, const std::set< SymbolType > &keys, bool neg) |
| | Build a TuringStyleMixedSymbolPattern from components. More...
|
| |
| virtual bool | match (const SymbolType &symbol, const std::map< SymbolType, std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType >>> &context) const noexcept override |
| | Check is a symbol is accepted. More...
|
| |
| constexpr bool | operator== (const TuringStyleMixedSymbolPattern< SymbolType > &other) const |
| | Equality operator. More...
|
| |
| constexpr bool | operator!= (const TuringStyleMixedSymbolPattern< SymbolType > &other) const |
| | Non-equality operator. More...
|
| |
| constexpr bool | operator< (const TuringStyleMixedSymbolPattern< SymbolType > &other) const |
| | Less than. More...
|
| |
| constexpr | MixedSymbolPattern (const std::set< SymbolType > &symbols, const std::set< SymbolType > &keys, bool neg) |
| | Builds a new MixedSymbolPattern. More...
|
| |
| constexpr bool | matchAccordingToPredicate (const SymbolType &symbol, const std::map< SymbolType, std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType > > > &context, const std::function< bool(const std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType > > &)> &predicate) const |
| | Test if a key match a given predicate in a given context. More...
|
| |
| constexpr bool | operator== (const MixedSymbolPattern< SymbolType, std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType > >, SymbolType > &other) const |
| | Equality operator. More...
|
| |
| constexpr bool | operator!= (const MixedSymbolPattern< SymbolType, std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType > >, SymbolType > &other) const |
| | Non-equality operator. More...
|
| |
| constexpr bool | operator< (const MixedSymbolPattern< SymbolType, std::shared_ptr< const State::MConfiguration::MConfiguration< SymbolType > >, SymbolType > &other) const |
| | Less than operator, total order. More...
|
| |
| constexpr bool | isAlphaEquivalent (const MixedSymbolPattern< SymbolType, std::shared_ptr< const 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::TuringStyleMixedSymbolPattern< SymbolType >
A MixedSymbolPattern with a predicate adapted to m-configuration.
- Template Parameters
-
| SymbolType | The type of symbols. |
Definition at line 437 of file turingMachineSymbolPattern.h.