1#ifndef CALLGFANLIB_GROEBNERCONE_H
2#define CALLGFANLIB_GROEBNERCONE_H
10#include "gfanlib/gfanlib.h"
78 bool contains(
const gfan::ZVector &
w)
const;
121 assume (p1.size() == p2.size());
const tropicalStrategy * currentStrategy
const tropicalStrategy * getTropicalStrategy() const
gfan::ZVector tropicalPoint() const
Returns a point in the tropical variety, if the groebnerCone contains one.
groebnerCones tropicalNeighbours() const
Returns a complete list of neighboring Groebner cones in the tropical variety.
groebnerCones groebnerNeighbours() const
Returns a complete list of neighboring Groebner cones.
groebnerCone & operator=(const groebnerCone &sigma)
bool contains(const gfan::ZVector &w) const
Returns true if Groebner cone contains w, false otherwise.
gfan::ZVector interiorPoint
gfan::ZCone getPolyhedralCone() const
bool checkFlipConeInput(const gfan::ZVector interiorPoint, const gfan::ZVector facetNormal) const
Debug tools.
ideal polynomialIdeal
ideal to which this Groebner cone belongs to
bool pointsOutwards(const gfan::ZVector w) const
Return 1 if w points is in the dual of the polyhedral cone, 0 otherwise.
ideal getPolynomialIdeal() const
gfan::ZCone polyhedralCone
ring getPolynomialRing() const
gfan::ZVector getInteriorPoint() const
groebnerCone flipCone(const gfan::ZVector &interiorPoint, const gfan::ZVector &facetNormal) const
Given an interior point on the facet and the outer normal factor on the facet, returns the adjacent g...
void deletePolynomialData()
ring polynomialRing
ring in which the ideal exists
gfan::ZFan * toFanStar(groebnerCones setOfCones)
std::set< groebnerCone, groebnerCone_compare > groebnerCones
Compatibility layer for legacy polynomial operations (over currRing)
void rDelete(ring r)
unconditionally deletes fields in r
void id_Delete(ideal *h, ring r)
deletes an ideal/module/matrix
bool operator()(const groebnerCone &sigma, const groebnerCone &theta) const
implementation of the class tropicalStrategy