PolyBoRi
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
groebner
include
polybori
groebner
SetAssociatedMinimal.h
Go to the documentation of this file.
1
// -*- c++ -*-
2
//*****************************************************************************
14
//*****************************************************************************
15
16
#ifndef polybori_groebner_SetAssociatedMinimal_h_
17
#define polybori_groebner_SetAssociatedMinimal_h_
18
19
// include basic definitions
20
#include "
groebner_defs.h
"
21
22
#include "
PolyEntryVector.h
"
23
24
BEGIN_NAMESPACE_PBORIGB
25
31
template
<
class
KeyType,
bool
Value>
32
class
SetAssociatedMinimal
{
33
public
:
34
SetAssociatedMinimal
(
PolyEntryVector
& strat): m_strat(strat) {}
35
36
void
operator()
(
const
KeyType& key)
const
{
37
m_strat(key).minimal = Value;
38
}
39
40
private
:
41
PolyEntryVector
& m_strat;
42
};
43
END_NAMESPACE_PBORIGB
44
45
#endif
/* polybori_groebner_SetAssociatedMinimal_h_ */
polybori::groebner::PolyEntryVector
Definition:
PolyEntryVector.h:28
polybori::groebner::SetAssociatedMinimal::SetAssociatedMinimal
SetAssociatedMinimal(PolyEntryVector &strat)
Definition:
SetAssociatedMinimal.h:34
END_NAMESPACE_PBORIGB
#define END_NAMESPACE_PBORIGB
Definition:
groebner_defs.h:16
BEGIN_NAMESPACE_PBORIGB
#define BEGIN_NAMESPACE_PBORIGB
Definition:
groebner_defs.h:15
polybori::groebner::SetAssociatedMinimal
This class set the attribute minimal of a given index to a valued selected by the template parameter ...
Definition:
SetAssociatedMinimal.h:32
groebner_defs.h
polybori::groebner::SetAssociatedMinimal::operator()
void operator()(const KeyType &key) const
Definition:
SetAssociatedMinimal.h:36
PolyEntryVector.h
Generated by
1.8.9.1