jengelh-datetimespielwiese
Last change
on this file since 18500b was
18500b,
checked in by Martin Lee <martinlee84@…>, 11 years ago
|
chg: moved libfac back
|
-
Property mode set to
100644
|
File size:
930 bytes
|
Line | |
---|
1 | //////////////////////////////////////////////////////////// |
---|
2 | // emacs edit mode for this file is -*- C++ -*- |
---|
3 | //////////////////////////////////////////////////////////// |
---|
4 | //////////////////////////////////////////////////////////// |
---|
5 | |
---|
6 | #ifndef INCL_NEW_ALGFACTOR_H |
---|
7 | #define INCL_NEW_ALGFACTOR_H |
---|
8 | |
---|
9 | #include <factory.h> |
---|
10 | #include <tmpl_inst.h> // for typedef's |
---|
11 | |
---|
12 | // missing class: IntGenerator: |
---|
13 | class IntGenerator : public CFGenerator |
---|
14 | { |
---|
15 | private: |
---|
16 | int current; |
---|
17 | public: |
---|
18 | IntGenerator() : current(0) {} |
---|
19 | ~IntGenerator() {} |
---|
20 | bool hasItems() const; |
---|
21 | void reset() { current = 0; } |
---|
22 | CanonicalForm item() const; |
---|
23 | void next(); |
---|
24 | void operator++ () { next(); } |
---|
25 | void operator++ ( int ) { next(); } |
---|
26 | }; |
---|
27 | |
---|
28 | CFFList newfactoras( const CanonicalForm & f, const CFList & as, int &success); |
---|
29 | /*BEGINPUBLIC*/ |
---|
30 | CFFList newcfactor(const CanonicalForm & f, const CFList & as, int & success ); |
---|
31 | /*ENDPUBLIC*/ |
---|
32 | |
---|
33 | #endif /* INCL_ALGFACTOR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.