Frobby
0.9.5
src
DynamicFrobeniusFacade.h
Go to the documentation of this file.
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 DYNAMIC_FROBENIUS_FACADE_GUARD
18
#define DYNAMIC_FROBENIUS_FACADE_GUARD
19
20
#include "
Facade.h
"
21
#include <vector>
22
23
class
Configuration
;
24
30
class
DynamicFrobeniusFacade
:
private
Facade
{
31
public
:
32
DynamicFrobeniusFacade
(
bool
printActions);
33
34
void
computeFrobeniusNumber
(
const
vector<mpz_class>&
instance
,
35
mpz_class
&
frobeniusNumber
);
36
};
37
38
#endif
Facade.h
nameFactoryRegister
void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
Definition
NameFactory.h:142
DynamicFrobeniusFacade
A facade for using the dynamic programming Frobenius problem algorithm.
Definition
DynamicFrobeniusFacade.h:30
DynamicFrobeniusFacade::computeFrobeniusNumber
void computeFrobeniusNumber(const vector< mpz_class > &instance, mpz_class &frobeniusNumber)
Definition
DynamicFrobeniusFacade.cpp:27
Facade
This is the super class of all facades.
Definition
Facade.h:32
Generated by
1.9.8