Frobby
0.10.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
SliceStrategy.h
1
/* Frobby: Software for monomial ideal computations.
2
Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see http://www.gnu.org/licenses/.
16
*/
17
#ifndef SLICE_STRATEGY_GUARD
18
#define SLICE_STRATEGY_GUARD
19
20
class
Slice
;
21
class
Term
;
22
class
SliceEvent;
23
class
Ideal
;
24
class
TaskEngine
;
25
33
class
SliceStrategy
{
34
public
:
35
virtual
~SliceStrategy
();
36
38
virtual
void
run
(
const
Ideal
& ideal) = 0;
39
42
virtual
bool
processSlice
(
TaskEngine
& tasks, unique_ptr<Slice> slice) = 0;
43
45
virtual
void
setUseIndependence
(
bool
use) = 0;
46
48
virtual
void
setUseSimplification
(
bool
use) = 0;
49
50
virtual
bool
getUseSimplification()
const
= 0;
51
57
virtual
void
freeSlice
(unique_ptr<Slice> slice) = 0;
58
};
59
60
#endif
Ideal
Represents a monomial ideal with int exponents.
Definition
Ideal.h:27
SliceStrategy
Definition
SliceStrategy.h:33
SliceStrategy::processSlice
virtual bool processSlice(TaskEngine &tasks, unique_ptr< Slice > slice)=0
SliceStrategy::setUseSimplification
virtual void setUseSimplification(bool use)=0
SliceStrategy::setUseIndependence
virtual void setUseIndependence(bool use)=0
SliceStrategy::freeSlice
virtual void freeSlice(unique_ptr< Slice > slice)=0
SliceStrategy::run
virtual void run(const Ideal &ideal)=0
Slice
Definition
Slice.h:77
TaskEngine
Definition
TaskEngine.h:40
Term
Definition
Term.h:49
Generated by
1.17.0