Changeset ce41a2e in git for kernel/gfan.h


Ignore:
Timestamp:
Mar 16, 2010, 8:34:46 AM (14 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
706b890c390993bb14ed93acf3c4b09775b93361
Parents:
ec6c521f728502456c5e851b7943d2d5202de7c2
Message:
facet::isIncoming no longer exists
some methods are const now
cleanup in readConeFromFile


git-svn-id: file:///usr/local/Singular/svn/trunk@12647 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/gfan.h

    rec6c52 rce41a2e  
    2222#endif
    2323extern 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
    3525lists gfan(ideal inputIdeal, int heuristic);
    36 //int dotProduct(intvec a, intvec b);
    37 //bool isParallel(intvec a, intvec b);
    3826
    3927class facet
     
    7058                 */     
    7159                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
    7361                facet *next;            //Pointer to next facet
    7462                facet *prev;            //Pointer to predecessor. Needed for the SearchList in noRevS
     
    9381//              inline bool operator==(const facet *f,const facet *g);                 
    9482                /** \brief Comparison of facets*/
    95                 inline bool areEqual(facet *f, facet *g);
     83//              inline bool areEqual(facet *f, facet *g);//Now static
    9684                /** Stores the facet normal \param intvec*/
    9785                inline void setFacetNormal(intvec *iv);
    9886                /** Returns the facet normal */
    99                 inline intvec *getFacetNormal();
     87                inline intvec *getFacetNormal() const;
    10088                /** Return a reference to the facet normal*/
    101                 inline const intvec *getRef2FacetNormal();
     89                inline const intvec *getRef2FacetNormal() const;
    10290                /** Method to print the facet normal*/
    103                 inline void printNormal();
     91                inline void printNormal() const;
    10492                /** Store the flipped GB*/
    10593                inline void setFlipGB(ideal I);
     
    136124{
    137125        private:               
    138                 //ring rootRing;                //good to know this -> generic walk
    139126                ideal inputIdeal;       //the original
    140127                ring baseRing;          //the basering of the cone                             
     
    272259static bool isMonomial(const ideal &I);
    273260static bool ivAreEqual(const intvec &a, const intvec &b);
    274 static bool areEqual2(facet* f, facet *g);
    275 static bool areEqual( facet *f,  facet *g);
     261static bool areEqual2(facet *f, facet *g);
     262static bool areEqual( facet *f, facet *g);
    276263// bool iv64isStrictlyPositive(intvec *);
    277264#endif
Note: See TracChangeset for help on using the changeset viewer.