Changeset ce41a2e in git for kernel/gfan.h
- Timestamp:
- Mar 16, 2010, 8:34:46 AM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 706b890c390993bb14ed93acf3c4b09775b93361
- Parents:
- ec6c521f728502456c5e851b7943d2d5202de7c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.h
rec6c52 rce41a2e 22 22 #endif 23 23 extern int gfanHeuristic; 24 // extern dd_MatrixPtr ddLinealitySpace; 25 26 // #ifdef gfanp 27 // extern static float time_getConeNormals; 28 // extern static float time_getCodim2Normals; 29 // extern static float time_flip; 30 // extern static float time_enqueue; 31 // extern static float time_computeInv; 32 // #endif 33 //ideal getGB(ideal inputIdeal); 34 // ideal gfan(ideal inputIdeal, int heuristic); 24 35 25 lists gfan(ideal inputIdeal, int heuristic); 36 //int dotProduct(intvec a, intvec b);37 //bool isParallel(intvec a, intvec b);38 26 39 27 class facet … … 70 58 */ 71 59 bool isFlippable; //**flippable facet? */ 72 bool isIncoming; //Is the facet incoming or outgoing in the reverse search?60 //bool isIncoming; //Is the facet incoming or outgoing in the reverse search? No longer in use 73 61 facet *next; //Pointer to next facet 74 62 facet *prev; //Pointer to predecessor. Needed for the SearchList in noRevS … … 93 81 // inline bool operator==(const facet *f,const facet *g); 94 82 /** \brief Comparison of facets*/ 95 inline bool areEqual(facet *f, facet *g); 83 // inline bool areEqual(facet *f, facet *g);//Now static 96 84 /** Stores the facet normal \param intvec*/ 97 85 inline void setFacetNormal(intvec *iv); 98 86 /** Returns the facet normal */ 99 inline intvec *getFacetNormal() ;87 inline intvec *getFacetNormal() const; 100 88 /** Return a reference to the facet normal*/ 101 inline const intvec *getRef2FacetNormal() ;89 inline const intvec *getRef2FacetNormal() const; 102 90 /** Method to print the facet normal*/ 103 inline void printNormal() ;91 inline void printNormal() const; 104 92 /** Store the flipped GB*/ 105 93 inline void setFlipGB(ideal I); … … 136 124 { 137 125 private: 138 //ring rootRing; //good to know this -> generic walk139 126 ideal inputIdeal; //the original 140 127 ring baseRing; //the basering of the cone … … 272 259 static bool isMonomial(const ideal &I); 273 260 static bool ivAreEqual(const intvec &a, const intvec &b); 274 static bool areEqual2(facet *f, facet *g);275 static bool areEqual( facet *f, 261 static bool areEqual2(facet *f, facet *g); 262 static bool areEqual( facet *f, facet *g); 276 263 // bool iv64isStrictlyPositive(intvec *); 277 264 #endif
Note: See TracChangeset
for help on using the changeset viewer.