Changeset 8bdaab in git for kernel/gfan.cc


Ignore:
Timestamp:
Feb 25, 2009, 3:30:25 PM (15 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
d5f35098e5ff96b29b884a0163b8da1d417b7de6
Parents:
7012d0f08e30c9406b7eb002fa6bd6b55e8cd1cd
Message:
First glimpse of class facet and class gcone


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

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r7012d0 r8bdaab  
    22Compute the Groebner fan of an ideal
    33Author: $Author: monerjan $
    4 Date: $Date: 2009-02-23 15:12:49 $
    5 Header: $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.15 2009-02-23 15:12:49 monerjan Exp $
    6 Id: $Id: gfan.cc,v 1.15 2009-02-23 15:12:49 monerjan Exp $
     4Date: $Date: 2009-02-25 14:30:25 $
     5Header: $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.16 2009-02-25 14:30:25 monerjan Exp $
     6Id: $Id: gfan.cc,v 1.16 2009-02-25 14:30:25 monerjan Exp $
    77*/
    88
     
    2323#endif
    2424
     25class facet
     26{
     27        private:
     28                intvec fnormal;         //inner normal, describing the facet uniquely
     29        public:
     30                facet();                //constructor
     31                bool isflippable;       //flippable facet?
     32};
     33
     34/*class gcone
     35finally this should become s.th. like gconelib.{h,cc} to provide an API
     36*/
     37class gcone
     38{
     39public:
     40        gcone(int);             //constructor with dimension
     41        poly gc_marked_term;    //marked terms of the cone's Gröbner basis
     42        ideal gc_basis;         //GB of the cone
     43        gcone *next;            //Pointer to *previous* cone in search tree
     44       
     45        void flip();            //Compute "the other side"
     46
     47};//class gcone
     48
    2549ideal getGB(ideal inputIdeal)
    2650{
    2751        #ifdef gfan_DEBUG
    28         printf("Now in getGB\n");
     52        printf("Computing a groebner basis...\n");
    2953        #endif
    3054
Note: See TracChangeset for help on using the changeset viewer.