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
My use case is, let us say, that if a given hash has a particular value for a key, I have to return some other key from the hash. Basically, if I want to use this in an already existing repo deployed on VMs, how would I integrate that?
ds = Network.new
ds << ruleset {
rule "type" do
forall {
has :A, :type, "Goods"
}
make {
action do
return true
end
end
}
return_value = ds << WME.new( "Sample Product", :type, "Goods" )
How would I achieve this?
The text was updated successfully, but these errors were encountered:
@ulfurinn Can you Please look into this and help here. My use case is more like How to return a value from the rule engine. I want to model my rule engine as a function and every time I call it, I have to get the result back.
My use case is, let us say, that if a given hash has a particular value for a key, I have to return some other key from the hash. Basically, if I want to use this in an already existing repo deployed on VMs, how would I integrate that?
How would I achieve this?
The text was updated successfully, but these errors were encountered: