My Project
|
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... | |
STATIC_VAR dd_MatrixPtr | dd_LinealitySpace |
Matrix to contain the homogeneity/lineality space. More... | |
STATIC_VAR int | lengthOfSearchList |
STATIC_VAR int | maxSize |
Maximum size of the searchlist. More... | |
STATIC_VAR bool | hasHomInput |
is the ideal homogeneous? More... | |
STATIC_VAR int | numVars |
STATIC_VAR int64vec * | hilbertFunction |
The hilbert function - for the homogeneous case. More... | |
STATIC_VAR int64vec * | ivZeroVector |
The zero vector. More... | |
int | numFacets |
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 |
Private Attributes | |
ideal | inputIdeal |
ring | baseRing |
int64vec * | ivIntPt |
int | UCN |
int | pred |
STATIC_VAR 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 |
|
private |
STATIC_VAR dd_MatrixPtr gcone::dd_LinealitySpace |
dd_MatrixPtr gcone::ddFacets |
ideal gcone::gcBasis |
int64vec** gcone::gcRays |
STATIC_VAR bool gcone::hasHomInput |
STATIC_VAR int64vec* gcone::hilbertFunction |
STATIC_VAR int64vec* gcone::ivZeroVector |
STATIC_VAR int gcone::lengthOfSearchList |
STATIC_VAR int gcone::maxSize |
int gcone::numFacets |
This value is set by gcone::getConeNormals
STATIC_VAR int gcone::numVars |