  In 1992, V. Weispfenning proved the existence of Comprehensive Groebner Bases
(CGB) and gave an algorithm to compute one. That algorithm was not very
efficient and not canonical. Using his suggestions, A. Montes obtained in 2002
a more efficient algorithm (DISPGB) for Discussing Parametric Groebner Bases.
Inspired in its philosophy, V. Weispfenning defined, in 2002, how to obtain a
Canonical Comprehensive Groebner Basis (CCGB) for parametric polynomial ideals,
and provided a constructive method.
  In this paper we use Weispfenning's CCGB ideas to make substantial
improvements on Montes DISPGB algorithm. It now includes rewriting of the
discussion tree using the Discriminant Ideal and provides a compact and
effective discussion. We also describe the new algorithms in the DPGB library
containing the improved DISPGB as well as new routines to check whether a given
basis is a CGB or not, and to obtain a CGB. Examples and tests are also
provided.
