source: git/libfac/charset/alg_factor.h @ 18500b

spielwiese
Last change on this file since 18500b was 18500b, checked in by Martin Lee <martinlee84@…>, 12 years ago
chg: moved libfac back
  • Property mode set to 100644
File size: 930 bytes
RevLine 
[0479e09]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:
13class IntGenerator : public CFGenerator
14{
15private:
16    int current;
17public:
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
[ec958b]28CFFList newfactoras( const CanonicalForm & f, const CFList & as, int &success);
[0479e09]29/*BEGINPUBLIC*/
[2f573cc]30CFFList newcfactor(const CanonicalForm & f, const CFList & as, int & success );
[0479e09]31/*ENDPUBLIC*/
32
33#endif /* INCL_ALGFACTOR_H */
Note: See TracBrowser for help on using the repository browser.