Working with pattern generators recently, I realized that even though some of my
generators may compute a "singleton pattern collection", i.e., a simple pattern,
it it more convenient to actually compute a collection containing a single
element because this allows using the PatternCollectionInformation interface
which in turn allows keeping the potentially already computed PDB corresponding
to the pattern. Since the only pattern generator currently contained in the
default branch (besides the manual one) is the greedy one and this isn't
frequently used to my knowledge, I suggest changing the interface of
PatternGenerator to either PatternCollectionInformation, or, probably more
properly, to something like PatternInformation, where the generator may include
the already computed PDB if it likes to.
|