Interface GenMonoid<A,M>

Type Parameters:
M - the carrier of the monoid.
A - the generating set.
All Superinterfaces:
GenSemigroup<A,M>, Monoid<M>, Semigroup<M>

public interface GenMonoid<A,M> extends GenSemigroup<A,M>, Monoid<M>
Monoid generated by a given set. All elements of the monoid are accessible by combinations of GenSemigroup.unit(A) and Semigroup.combine(M, M). A typical instance is M for strings and A for characters.