You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The section at the bottom of https://github.com/TeamCohen/TensorLog/wiki/Program mentions 'control' on rules, and gives an example using it: r1,r2 = b.rule_ids("r1 r2") ... b.rules += aunt(X,Y) <= uncle(X,Z) & wife(Z,Y) // r1 b.rules += aunt(X,Y) <= parent(X,Z) & sister(Z,Y) // r2 b.rules += aunt(X,Y) <= uncle(X,Z) & wife(Z,Y) // (weight(F) | description(X,D) & feature(X,F))
I'm afraid I don't really understand what is going on here. Could you expand on what this 'control' is and does?
The text was updated successfully, but these errors were encountered:
adam-antonik
changed the title
Documentation of
Documentation of 'control' on rules
Jun 17, 2022
The section at the bottom of https://github.com/TeamCohen/TensorLog/wiki/Program mentions 'control' on rules, and gives an example using it:
r1,r2 = b.rule_ids("r1 r2") ... b.rules += aunt(X,Y) <= uncle(X,Z) & wife(Z,Y) // r1 b.rules += aunt(X,Y) <= parent(X,Z) & sister(Z,Y) // r2 b.rules += aunt(X,Y) <= uncle(X,Z) & wife(Z,Y) // (weight(F) | description(X,D) & feature(X,F))
I'm afraid I don't really understand what is going on here. Could you expand on what this 'control' is and does?
The text was updated successfully, but these errors were encountered: