spielwiese
Last change
on this file since 91b36d was
91b36d,
checked in by Hans Schönemann <hannes@…>, 15 years ago
|
*hannes: licence stuff
git-svn-id: file:///usr/local/Singular/svn/trunk@10750 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
989 bytes
|
Line | |
---|
1 | //////////////////////////////////////////////////////////// |
---|
2 | // emacs edit mode for this file is -*- C++ -*- |
---|
3 | //////////////////////////////////////////////////////////// |
---|
4 | // $Id: alg_factor.h,v 1.3 2008-06-10 14:49:14 Singular Exp $ |
---|
5 | //////////////////////////////////////////////////////////// |
---|
6 | |
---|
7 | #ifndef INCL_NEW_ALGFACTOR_H |
---|
8 | #define INCL_NEW_ALGFACTOR_H |
---|
9 | |
---|
10 | #include <factory.h> |
---|
11 | #include <tmpl_inst.h> // for typedef's |
---|
12 | |
---|
13 | // missing class: IntGenerator: |
---|
14 | class IntGenerator : public CFGenerator |
---|
15 | { |
---|
16 | private: |
---|
17 | int current; |
---|
18 | public: |
---|
19 | IntGenerator() : current(0) {} |
---|
20 | ~IntGenerator() {} |
---|
21 | bool hasItems() const; |
---|
22 | void reset() { current = 0; } |
---|
23 | CanonicalForm item() const; |
---|
24 | void next(); |
---|
25 | void operator++ () { next(); } |
---|
26 | void operator++ ( int ) { next(); } |
---|
27 | }; |
---|
28 | |
---|
29 | CFFList newfactoras( const CanonicalForm & f, const CFList & as, int success); |
---|
30 | CFFList newcfactor(const CanonicalForm & f, const CFList & as, int success ); |
---|
31 | /*BEGINPUBLIC*/ |
---|
32 | /*ENDPUBLIC*/ |
---|
33 | |
---|
34 | #endif /* INCL_ALGFACTOR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.