Changeset 18765e in git for kernel


Ignore:
Timestamp:
Mar 2, 2009, 3:44:49 PM (15 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
65a4ba06d1f40243c71a75ec4979640b8db0684e
Parents:
338842d01fe627d4e6675ec8df5900eef6af97af
Message:
more stuff into class {facet,gcone}


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

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r338842d r18765e  
    22Compute the Groebner fan of an ideal
    33Author: $Author: monerjan $
    4 Date: $Date: 2009-02-25 14:30:25 $
    5 Header: $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.16 2009-02-25 14:30:25 monerjan Exp $
    6 Id: $Id: gfan.cc,v 1.16 2009-02-25 14:30:25 monerjan Exp $
     4Date: $Date: 2009-03-02 14:44:49 $
     5Header: $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.17 2009-03-02 14:44:49 monerjan Exp $
     6Id: $Id: gfan.cc,v 1.17 2009-03-02 14:44:49 monerjan Exp $
    77*/
    88
     
    2626{
    2727        private:
    28                 intvec fnormal;         //inner normal, describing the facet uniquely
     28                intvec fNormal;         //inner normal, describing the facet uniquely
    2929        public:
    3030                facet();                //constructor
    31                 bool isflippable;       //flippable facet?
     31                bool isFlippable;       //flippable facet? Want to have cone->isflippable.facet[i]
     32                bool isIncoming;        //Is the facet incoming or outgoing?
    3233};
    3334
     
    3738class gcone
    3839{
    39 public:
    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
     40        private:
     41                int numFacets;          //#of facets of the cone
     42
     43        public:
     44                gcone(int);             //constructor with dimension
     45                poly gcMarkedTerm;      //marked terms of the cone's Gröbner basis
     46                ideal gcBasis;          //GB of the cone
     47                gcone *next;            //Pointer to *previous* cone in search tree
    4448       
    45         void flip();            //Compute "the other side"
     49                void flip();            //Compute "the other side"
     50                void remRedFacets();    //Remove redundant facets of the cone
     51               
    4652
    4753};//class gcone
Note: See TracChangeset for help on using the changeset viewer.