GiNaCRA  0.6.4
GiNaCRA::CADSettings Struct Reference

Settings for the CAD class. More...

#include <CAD.h>

Public Member Functions

bool simplifyByGroebner () const
void setSimplifyByGroebner (bool b)
bool simplifyByRootcounting () const
void setSimplifyByRootcounting (bool b)
bool simplifyBySquarefreeing () const
void setSimplifyBySquarefreeing (bool b)
bool preferNRSamples () const
void setPreferNRSamples (bool b)
bool preferSamplesByIsRoot () const
void setPreferSamplesByIsRoot (bool b)
bool preferNonrootSamples () const
void setPreferNonrootSamples (bool b)
 Activates non-root/root sample choice and sets the respective setting b.

Static Public Member Functions

static const CADSettings getSettings (unsigned setting=DEFAULT_CADSETTING, RealAlgebraicNumberSettings::IsolationStrategy isolationStrategy=RealAlgebraicNumberSettings::DEFAULT_ISOLATIONSTRATEGY)
 Generate a CADSettings instance of the respective preset type.

Data Fields

bool(* mUP_isLess )(const UnivariatePolynomial &, const UnivariatePolynomial &)
 the order in which the polynomials in each elimination level are sorted
RealAlgebraicNumberSettings::IsolationStrategy mIsolationStrategy
 standard strategy to be used for real root isolation

Protected Attributes

bool mPreferNRSamples
 flag indicating that the construction of new samples (by taking a new polynomial for lifting) is preferred to the choice of IR samples (PreferNRSamples excludes the use of PreferSamplesByIsRoot and vice versa)
bool mPreferSamplesByIsRoot
 flag indicating that the choice of samples is guided by either being a root or not (PreferSamplesByIsRoot excludes the use of PreferNRSamples and vice versa)
bool mPreferNonrootSamples
 flag indicating that the construction of new samples (by taking a new polynomial for lifting) is preferred to take root samples, if and only if mPreferSamplesByIsRoot is on
bool mSimplifyByGroebner
 flag indicating that Groebner bases are used to simplify the input polynomials corresponding to equations
bool mSimplifyByRootcounting
 flag indicating that the elimination uses real root counting to simplify the bottom-most level
bool mSimplifyBySquarefreeing
 flag indicating that the elimination uses square-free/separable polynomials in every level

Private Member Functions

 CADSettings ()
 Constructor initiating a standard settings object with.

Friends

std::ostream & operator<< (std::ostream &os, const CADSettings &settings)

Detailed Description

Settings for the CAD class.

Definition at line 491 of file CAD.h.


Constructor & Destructor Documentation

GiNaCRA::CADSettings::CADSettings ( ) [inline, private]

Constructor initiating a standard settings object with.

  • UnivariatePolynomial::univariatePolynomialIsLessDeg as polynomial ordering
  • preferNRSamples enabled
  • simplifyByGroebner disabled

Definition at line 662 of file CAD.h.

Referenced by getSettings().


Member Function Documentation

Definition at line 618 of file CAD.h.

References mPreferNonrootSamples.

bool GiNaCRA::CADSettings::preferNRSamples ( ) const [inline]

Definition at line 594 of file CAD.h.

References mPreferNRSamples.

Definition at line 606 of file CAD.h.

References mPreferSamplesByIsRoot.

Activates non-root/root sample choice and sets the respective setting b.

Parameters:
b

Definition at line 627 of file CAD.h.

References mPreferNonrootSamples, and setPreferSamplesByIsRoot().

void GiNaCRA::CADSettings::setPreferNRSamples ( bool  b) [inline]

Definition at line 599 of file CAD.h.

References mPreferNRSamples, and mPreferSamplesByIsRoot.

Definition at line 611 of file CAD.h.

References mPreferNRSamples, and mPreferSamplesByIsRoot.

Referenced by setPreferNonrootSamples().

Definition at line 569 of file CAD.h.

References mSimplifyByGroebner.

Definition at line 579 of file CAD.h.

References mSimplifyByRootcounting.

Definition at line 589 of file CAD.h.

References mSimplifyBySquarefreeing.

Definition at line 564 of file CAD.h.

References mSimplifyByGroebner.

Referenced by GiNaCRA::CAD::addPolynomials(), and GiNaCRA::CAD::CAD().

Definition at line 574 of file CAD.h.

References mSimplifyByRootcounting.

Referenced by GiNaCRA::CAD::addPolynomials(), and GiNaCRA::CAD::CAD().

Definition at line 584 of file CAD.h.

References mSimplifyBySquarefreeing.

Referenced by GiNaCRA::CAD::addPolynomials(), and GiNaCRA::CAD::CAD().


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CADSettings settings 
) [friend]

Definition at line 538 of file CAD.h.


Field Documentation

standard strategy to be used for real root isolation

Definition at line 500 of file CAD.h.

Referenced by getSettings().

flag indicating that the construction of new samples (by taking a new polynomial for lifting) is preferred to take root samples, if and only if mPreferSamplesByIsRoot is on

Definition at line 644 of file CAD.h.

Referenced by preferNonrootSamples(), and setPreferNonrootSamples().

flag indicating that the construction of new samples (by taking a new polynomial for lifting) is preferred to the choice of IR samples (PreferNRSamples excludes the use of PreferSamplesByIsRoot and vice versa)

Definition at line 640 of file CAD.h.

Referenced by getSettings(), preferNRSamples(), setPreferNRSamples(), and setPreferSamplesByIsRoot().

flag indicating that the choice of samples is guided by either being a root or not (PreferSamplesByIsRoot excludes the use of PreferNRSamples and vice versa)

Definition at line 642 of file CAD.h.

Referenced by preferSamplesByIsRoot(), setPreferNRSamples(), and setPreferSamplesByIsRoot().

flag indicating that Groebner bases are used to simplify the input polynomials corresponding to equations

Definition at line 646 of file CAD.h.

Referenced by getSettings(), setSimplifyByGroebner(), and simplifyByGroebner().

flag indicating that the elimination uses real root counting to simplify the bottom-most level

Definition at line 648 of file CAD.h.

Referenced by getSettings(), setSimplifyByRootcounting(), and simplifyByRootcounting().

flag indicating that the elimination uses square-free/separable polynomials in every level

Definition at line 650 of file CAD.h.

Referenced by getSettings(), setSimplifyBySquarefreeing(), and simplifyBySquarefreeing().

the order in which the polynomials in each elimination level are sorted

Definition at line 498 of file CAD.h.

Referenced by GiNaCRA::CAD::addPolynomials(), GiNaCRA::CAD::CAD(), and getSettings().


The documentation for this struct was generated from the following file: