Appends all of the elements in the specified collection to the end of
this deque, in the order that they are returned by the specified
collection's iterator.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
generates the conditions for an assignment on the left hand side example:
(defrule wholesalerPricing ?x <- (SKU (wholesalerOnly true) (sellPrice
?price)) => (modify ?x (sellPrice 0) (listPrice (* ?price 0.75)
(discountPrice (* 0.5 ?price))))
needs to be: (defrule wholesalerPricing (?id clazz SKU) //
getConditionTemplate returns from here (?id wholesalerOnly true) (?id
sellPrice ?price) // to here (?id listPrice ?id_var_1) (?id discountPrice
?id_var_2) => (retract (?id listPrice ?id_var_1)) (retract (?id
discountPrice ?id_var_2)) (retract (?id sellPrice ?price)) (assert (?id
sellPrice 0)) (assert (?id listPrice (* ?price 0.75))) (assert (?id
discountPrice (* ?price 0.5))))
for achieving that, we first iterate over the actions to select the
attributes that will be modified on the selected object.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
The token belongs to 5 lists: 1) Memory node's items list (The list of
tokens in the betaMemory) 1.1) Memory node's hashed items list (indexed
nodes) 2) WME's token list 3) It's parent token's children list.
Copyright (c) 2005 Elie Levy
All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
Copyright (c) 2005 Elie Levy All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.
This method is used in the getJoinNode (buildOrShareJoinNode)
and getNegativeNode
to test if the tests contained in this JoinNode for the specified
scope match the ones received as a parameter
Returns an array containing all of the elements in this deque in the
correct order; the runtime type of the returned array is that of the
specified array.
Copyright (c) 2005 Elie Levy All rights reserved
This License governs use of the accompanying Software, and your use of the
Software constitutes acceptance of this license.