Assign this Template a name which will be used later when its factors are printed.
Assign this Template a name which will be used later when its factors are printed.
Not intended to be called by users.
Append to "result" all Factors in this Model that are affected by the given DiffList.
Append to "result" all Factors in this Model that are affected by the given DiffList. This method must not append duplicates.
Append to "result" all Factors in this Model that are affected by the given Diff.
Append to "result" all Factors in this Model that are affected by the given Diff. This method must not append duplicates.
Append to "result" all Factors in this Model that touch any of the given "variables".
Append to "result" all Factors in this Model that touch any of the given "variables". This method must not append duplicates.
Return all Factors in this Model that touch any of the given "variables".
Users should call this method to create and return all Factors of this Template touching the given Var.
Return all Factors in this Model that are affected by the given DiffList.
Return all Factors in this Model that are affected by the given DiffList. The result will not have any duplicate Factors. By default returns just the factors that neighbor the DiffList.variables, but this method may be overridden for special handling of the DiffList
Return all Factors in this Model that are affected by the given Diff.
Return all Factors in this Model that are affected by the given Diff. The result will not have any duplicate Factors. By default returns just the factors that neighbor Diff.variable, but this method may be overridden for special handling of the Diff
A Factor Template has just one Factor Family: itself.
A Factor Template has just one Factor Family: itself.
Causes future calls to factor.
Causes future calls to factor.valuesIterator to limit the returned values to those value combinations seen in the current values of the variables in factors touching "vars". Note that this will limit the values of all DiscreteVar neighbors of the resulting factors, not just the "vars" argument.
Override this if you want to matchNeighborDomains
Override this if you want to matchNeighborDomains
The "factors" methods need a new collection to return; this method is used by them to construct this collection.
The "factors" methods need a new collection to return; this method is used by them to construct this collection.
Assign this Template a name which will be used later when its factors are printed.
Assign this Template a name which will be used later when its factors are printed.
Implement this method to create and return all Factors of this Template touching the given Var.
Implement this method to create and return all Factors of this Template touching the given Var. Users of the Template should not call this method directly, however, because this method's implementation is permitted to return duplicate Factors. Instead call factors(Var), which will deduplicate the Factors (using the helper function addFactors).