public class FindWords
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FindWords.LengthDoneCallback |
static interface |
FindWords.WordCallback |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateList(PNProperties properties,
java.util.SortedSet<java.lang.Character> alphabet,
boolean quickFail,
FindWords.WordCallback wordCallback,
FindWords.LengthDoneCallback lengthDoneCallback)
Generate Petri net solvable words with the given characteristics.
|
public static void generateList(PNProperties properties, java.util.SortedSet<java.lang.Character> alphabet, boolean quickFail, FindWords.WordCallback wordCallback, FindWords.LengthDoneCallback lengthDoneCallback) throws PreconditionFailedException
properties - The properties that should be considered.alphabet - The alphabet from which words should be generated.quickFail - Should quick-fail synthesis be done or should full synthesis be attempted?wordCallback - Callback that should be called for each word that is found.lengthDoneCallback - Callback that should be called when all words of a given length were handled.PreconditionFailedException - If a combination of properties is specified for which there is no
sensible definition of 'minimally unsolvable word', i.e. plain+k-marking.