Sergiy, colleges,
I am planning usage of NRules for automated building complex object in complex editor.
The main pattern would be:
if (some-conditions)
then (insert a new object).
However, the system is dymanic, so once the original objects are retracted, the derived also comes illegal and should be removed.
I have created a simple demo, attached to my post. It works.
It shows the "marriage" and creates a couple when meet to guys of opposite sex and same first char in the name.
The kludge was needed to force re-marry a women, when his husband is retracted.
However, I think, that I can engage your Rete engine to serve this functional for me. You have the Synthetic facts being dependent on other.
I wish to expose the functional to the public interface of ISession.
Say, add to ISession the method:
InsertDependent(object fact, IEnumerable<object> dependsOn)
Have you any ideas on it? Have you more profound ideas for developing your very attractive project, which will cover my needs?
Would you accept my branch if I will implement it?
Alexander