modeci_mdf.functions.actr.match_production
- modeci_mdf.functions.actr.match_production(production: Dict[str, Any], context: Dict[str, Dict[str, str]]) bool [source]
Returns True if the production’s left hand side matches the given context and adds the matching bindings to the production.
- Parameters:
production – A dict representing a production.
context – A dict with the contents of the goal and retrieval buffers.
- Returns:
True if the production’s left hand side matches the context.