public class RandomWordNudger extends java.lang.Object implements WordNudger
| Constructor and Description |
|---|
RandomWordNudger()
Create a RandomWordNudger with a standard deviation of 0.6.
|
RandomWordNudger(float stdDev)
Create a RandomWordNudger with your own standard deviation.
|
public RandomWordNudger()
public RandomWordNudger(float stdDev)
public processing.core.PVector nudgeFor(Word w, int attempt)
WordNudgernudgeFor in interface WordNudgerw - the word to nudgeattempt - how many times WordCram has tried to place this word; starts
at zero, and ends at
(int)((1.0-word.weight) * 600) + 100