![]() |
Implements the cone structure. More...
#include <gfan.h>
Public Member Functions | |
| gcone () | |
| gcone (ring r, ideal I) | |
| gcone (const gcone &gc, const facet &f) | |
| ~gcone () | |
| int | getCounter () |
| ring | getBaseRing () |
| ring | getRef2BaseRing () |
| void | setBaseRing (ring r) |
| void | setIntPoint (int64vec *iv) |
| int64vec * | getIntPoint (bool shallow=FALSE) |
| void | showIntPoint () |
| void | setNumFacets () |
| int | getNumFacets () |
| int | getUCN () |
| int | getPredUCN () |
| volatile void | showFacets (short codim=1) |
| void | noRevS (gcone &gcRoot, bool usingIntPoint=FALSE) |
| void | writeConeToFile (const gcone &gc, bool usingIntPoints=FALSE) |
| void | readConeFromFile (int gcNum, gcone *gc) |
| int64vec | f2M (gcone *gc, facet *f, int n=1) |
| void | getConeNormals (const ideal &I, bool compIntPoint=FALSE) |
| void | getCodim2Normals (const gcone &gc) |
| void | getExtremalRays (const gcone &gc) |
| void | orderRays () |
| void | flip (ideal gb, facet *f) |
| void | flip2 (const ideal &gb, facet *f) |
| void | computeInv (const ideal &gb, ideal &inv, const int64vec &f) |
| ideal | ffG (const ideal &H, const ideal &G) |
| void | getGB (ideal const &inputIdeal) |
| void | interiorPoint (dd_MatrixPtr &M, int64vec &iv) |
| void | preprocessInequalities (dd_MatrixPtr &M) |
| ring | rCopyAndAddWeight (const ring &r, int64vec *ivw) |
| ring | rCopyAndAddWeight2 (const ring &, const int64vec *, const int64vec *) |
| void | makeInt (const dd_MatrixPtr &M, const int line, int64vec &n) |
| facet * | enqueueNewFacets (facet *f) |
| facet * | enqueue2 (facet *f) |
| dd_MatrixPtr | computeLinealitySpace () |
| Compute the lineality space Ax=0 and return it as dd_MatrixPtr dd_LinealitySpace. More... | |
| bool | iv64isStrictlyPositive (const int64vec *) |
| void | replaceDouble_ringorder_a_ByASingleOne () |
| Exchange 2 ordertype_a by just 1. More... | |
Data Fields | |
| facet * | facetPtr |
| Pointer to the first facet. More... | |
| int | numFacets |
of facets of the coneThis value is set by gcone::getConeNormals More... | |
| dd_MatrixPtr | ddFacets |
| At least as a workaround we store the irredundant facets of a matrix here. More... | |
| int64vec ** | gcRays |
| Array of intvecs representing the rays of the cone. More... | |
| unsigned | numRays |
| ideal | gcBasis |
| Contains the Groebner basis of the cone. More... | |
| gcone * | next |
| gcone * | prev |
Static Public Attributes | |
| static dd_MatrixPtr | dd_LinealitySpace |
| Matrix to contain the homogeneity/lineality space. More... | |
| static int | lengthOfSearchList |
| static int | maxSize |
| Maximum size of the searchlist. More... | |
| static bool | hasHomInput |
| is the ideal homogeneous? More... | |
| static int | numVars |
of variables in the ringMore... | |
| static int64vec * | hilbertFunction |
| The hilbert function - for the homogeneous case. More... | |
| static int64vec * | ivZeroVector |
| The zero vector. More... | |
Private Attributes | |
| ideal | inputIdeal |
| ring | baseRing |
| int64vec * | ivIntPt |
| int | UCN |
| int | pred |
Static Private Attributes | |
| static int | counter |
Implements the cone structure.
A cone is represented by a linked list of facet normals
| gcone::gcone | ( | ) |
| gcone::gcone | ( | ring | r, |
| ideal | I | ||
| ) |
| gcone::~gcone | ( | ) |
| dd_MatrixPtr gcone::computeLinealitySpace | ( | ) |
Compute the lineality space Ax=0 and return it as dd_MatrixPtr dd_LinealitySpace.
| void gcone::flip | ( | ideal | gb, |
| facet * | f | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void gcone::interiorPoint | ( | dd_MatrixPtr & | M, |
| int64vec & | iv | ||
| ) |
| void gcone::orderRays | ( | ) |
| void gcone::preprocessInequalities | ( | dd_MatrixPtr & | M | ) |
| void gcone::readConeFromFile | ( | int | gcNum, |
| gcone * | gc | ||
| ) |
| void gcone::replaceDouble_ringorder_a_ByASingleOne | ( | ) |
Exchange 2 ordertype_a by just 1.
|
inline |
|
inline |
|
inline |
| volatile void gcone::showFacets | ( | short | codim = 1 | ) |
|
inline |
|
static |
| dd_MatrixPtr gcone::ddFacets |
| ideal gcone::gcBasis |
| int64vec** gcone::gcRays |
|
static |
|
static |
| int gcone::numFacets |