cc.factorie.variable.IterableSettings
Makes the changes to achieve the next configuration in the iteration.
Makes the changes to achieve the next configuration in the iteration. Argument d:DiffList is the "context"---the set of Diffs that have already been made; you can check this to avoid re-changing something that has already been changed. This DiffList should not be modified. The method should (optionally) create a new DiffList by calling the method "newDiffList", put any changes caused by this method into that DiffList, and return that DiffList.
Rewind this iterator back to its initial state, so that the follow call to "next" will produce the first setting.
Rewind this iterator back to its initial state, so that the follow call to "next" will produce the first setting.
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
If true, calls to "next" will create a new DiffList to describe the changes they made, otherwise "next" will not track the changes, and will return null.
If true, calls to "next" will create a new DiffList to describe the changes they made, otherwise "next" will not track the changes, and will return null.
In your implementation of "next" use this method to optionally create a new DiffList, obeying "makeNewDiffList".
In your implementation of "next" use this method to optionally create a new DiffList, obeying "makeNewDiffList".
Makes the changes to achieve the next configuration in the iteration, without any context DiffList of previous changes.
Makes the changes to achieve the next configuration in the iteration, without any context DiffList of previous changes.
(Since version 2.10.0) use fold instead