[a9a7be] | 1 | /***************************************** |
---|
| 2 | * Computer Algebra System SINGULAR * |
---|
| 3 | *****************************************/ |
---|
[341696] | 4 | /* $Id$ */ |
---|
[a9a7be] | 5 | /* |
---|
| 6 | * ABSTRACT: Declaration of the Groebner walk |
---|
| 7 | */ |
---|
| 8 | |
---|
[50cbdc] | 9 | #ifndef WALK_H |
---|
| 10 | #define WALK_H |
---|
| 11 | |
---|
[599326] | 12 | #include <kernel/structs.h> |
---|
[a9a7be] | 13 | |
---|
[fc5095] | 14 | ideal MwalkInitialForm(ideal G, intvec* curr_weight); |
---|
[50cbdc] | 15 | |
---|
[fc5095] | 16 | //compute the next weight vector |
---|
| 17 | intvec* MwalkNextWeight(intvec* curr_weight,intvec* target_weight, ideal G); |
---|
[50cbdc] | 18 | |
---|
[fc5095] | 19 | int MivSame(intvec* u , intvec* v); |
---|
| 20 | int M3ivSame(intvec* next_weight, intvec* u , intvec* v); |
---|
[50cbdc] | 21 | |
---|
| 22 | |
---|
| 23 | |
---|
[fc5095] | 24 | intvec* Mivdp(int nR); |
---|
| 25 | intvec* Mivlp(int nR); |
---|
[50cbdc] | 26 | |
---|
[fc5095] | 27 | intvec* MivMatrixOrder(intvec* iv); |
---|
| 28 | intvec* MivMatrixOrderdp(int iv); |
---|
| 29 | intvec* MPertVectors(ideal G, intvec* ivtarget, int pdeg); |
---|
| 30 | intvec* MPertVectorslp(ideal G, intvec* ivtarget, int pdeg); |
---|
[50cbdc] | 31 | |
---|
| 32 | |
---|
[fc5095] | 33 | intvec* MivMatrixOrderlp(int nV); |
---|
[50cbdc] | 34 | |
---|
[fc5095] | 35 | intvec* Mfpertvector(ideal G, intvec* iv); |
---|
| 36 | intvec* MivUnit(int nV); |
---|
[50cbdc] | 37 | |
---|
[fc5095] | 38 | intvec* MivWeightOrderlp(intvec* ivstart); |
---|
| 39 | intvec* MivWeightOrderdp(intvec* ivstart); |
---|
[50cbdc] | 40 | |
---|
[fc5095] | 41 | ideal MidLift(ideal Gomega, ideal M); |
---|
| 42 | ideal MLiftLmalG(ideal L, ideal G); |
---|
| 43 | ideal MLiftLmalGNew(ideal Gomega, ideal M, ideal G); |
---|
| 44 | ideal MLiftLmalGMin(ideal L, ideal G); |
---|
[50cbdc] | 45 | |
---|
| 46 | |
---|
[fc5095] | 47 | intvec* MkInterRedNextWeight(intvec* iva, intvec* ivb, ideal G); |
---|
| 48 | intvec* MPertNextWeight(intvec* iva, ideal G, int deg); |
---|
| 49 | intvec* Mivperttarget(ideal G, int ndeg); |
---|
[50cbdc] | 50 | |
---|
| 51 | |
---|
[fc5095] | 52 | intvec* MSimpleIV(intvec* iv); |
---|
[50cbdc] | 53 | |
---|
[fc5095] | 54 | /* Okt -- Nov'01 */ |
---|
| 55 | // compute a Groebner basis of an ideal G w.r.t. lexicographic order |
---|
| 56 | ideal Mwalk(ideal G, intvec* curr_weight, intvec* target_weight); |
---|
[50cbdc] | 57 | |
---|
[fc5095] | 58 | /* the perturbation walk algorithm */ |
---|
| 59 | ideal Mpwalk(ideal G,int op,int tp,intvec* curr_weight,intvec* target_weight, int nP); |
---|
[50cbdc] | 60 | |
---|
[fc5095] | 61 | /* The fractal walk algorithm */ |
---|
| 62 | ideal Mfwalk(ideal G, intvec* ivstart, intvec* ivtarget); |
---|
[50cbdc] | 63 | |
---|
| 64 | |
---|
[fc5095] | 65 | /* Implement Tran's idea */ |
---|
| 66 | intvec* TranMPertVectorslp(ideal G); |
---|
| 67 | ideal TranMImprovwalk(ideal Go, intvec* curr_weight,intvec* target_weight, int nP); |
---|
[50cbdc] | 68 | |
---|
[fc5095] | 69 | /* the first alternative algorithm */ |
---|
| 70 | ideal MAltwalk1(ideal G,int op,int tp,intvec* curr_weight,intvec* target_weight); |
---|
[50cbdc] | 71 | |
---|
[fc5095] | 72 | /* the second alternative algorithm */ |
---|
| 73 | ideal MAltwalk2(ideal G, intvec* curr_weight, intvec* target_weight); |
---|
[847242] | 74 | |
---|
[50cbdc] | 75 | #endif //WALK_H |
---|