Macaulay2 Engine
Loading...
Searching...
No Matches
res-schreyer-order.hpp
Go to the documentation of this file.
1
// Copyright 2016 Michael E. Stillman
2
3
#ifndef _res_schreyer_order_hpp_
4
#define _res_schreyer_order_hpp_
5
41
42
#include "
schreyer-resolution/res-monomial-types.hpp
"
// for component_index
43
#include <vector>
// for vector
44
59
struct
ResSchreyerOrder
60
{
61
std::vector<res_packed_monomial>
mTotalMonom
;
62
std::vector<component_index>
mTieBreaker
;
63
// keep a memory block for these monomials? Probably...
64
};
65
66
// Operations to include:
67
// . create total monomials and tiebreakers (or, just tiebreakers, given total
68
// monomials?)
69
// . check that a polynomial is in correct descending order w.r.t. this order
70
// . sort a polynomial into this order
71
// . provide a comparison operator for two monomials (not in total monomial
72
// encoding)
73
// . (debug) display data associated to this order
74
75
#endif
76
77
// Local Variables:
78
// compile-command: "make -C $M2BUILDDIR/Macaulay2/e "
79
// indent-tabs-mode: nil
80
// End:
res-monomial-types.hpp
Typed-monomial vocabulary shared by ResMonoid, ResPolyRing, SchreyerFrame, and F4Res.
ResSchreyerOrder::mTotalMonom
std::vector< res_packed_monomial > mTotalMonom
Definition
res-schreyer-order.hpp:61
ResSchreyerOrder::mTieBreaker
std::vector< component_index > mTieBreaker
Definition
res-schreyer-order.hpp:62
ResSchreyerOrder
Per-level Schreyer-order data attached to a SchreyerFrame::Level.
Definition
res-schreyer-order.hpp:60
Macaulay2
e
schreyer-resolution
res-schreyer-order.hpp
Generated on
for Macaulay2 Engine by
1.15.0