How to set any other skills to optional #62
Labels
help wanted
Extra attention is needed
question
Further information is requested
tutorial
Tutorial question
Suppose we have a set of permissible skills:
And suppose we have some agents that have some of the skills:
To do their work agents should have at least one skill. We have a predicate to check permissibility of skill e for agent m:
Since we need only one permissible skill for an agent to give him a further task, any other skill possessed by the agent becomes optonal:
The question is
how to implement
omissible
function in the most MeTTa-like way to automatically check if an agent has 2 or more skills and mark all of them but one (which one?) as omissible?The text was updated successfully, but these errors were encountered: