Pointwise multiplication of this Factor by a given multiplier, creating a new Factor representing the product of the two.
see: AIMA3e Figure 14.10 page 527.
Note: Default Factor multiplication is not commutative. The reason is because the order of the variables comprising a Factor dictate the ordering of the values for that factor. The default order of the variables of the Factor returned is the order of the variables as they are seen, as read from the left to right term, for e.g.:
f1(Y)f2(X, Y)
would give a Factor of the following form: Y, X
i.e. an ordered union of the variables from the two factors. To override the default order of the product use pointwiseProductPOS().
@param multiplier
@return a new Factor representing the pointwise product of this and thepassed in multiplier. The order of the variables comprising the product factor is the ordered union of the left term (this) and the right term (multiplier).
@see Factor#pointwiseProductPOS(Factor,RandomVariable)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.