PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
groebner
include
polybori
groebner
IsEcart0Predicate.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
14
//*****************************************************************************
15
16
#ifndef polybori_groebner_IsEcart0Predicate_h_
17
#define polybori_groebner_IsEcart0Predicate_h_
18
19
// include basic definitions
20
#include "
groebner_defs.h
"
21
#include "
ReductionStrategy.h
"
22
23
BEGIN_NAMESPACE_PBORIGB
24
29
class
IsEcart0Predicate
{
30
public
:
31
IsEcart0Predicate
(
const
ReductionStrategy
& strat){
32
this->strat=&strat;
33
}
34
bool
operator() (
const
Exponent
& e){
35
return
(*strat)[e].ecart()==0;
36
}
37
38
39
private
:
40
const
ReductionStrategy
* strat;
41
};
42
43
END_NAMESPACE_PBORIGB
44
45
#endif
/* polybori_IsEcart0Predicate_h_ */
Generated by
1.8.3.1