Ignore:
Timestamp:
Dec 31, 2017, 7:22:14 PM (15 months ago)
Author:
cameron
Message:

Supporting multiple alphabets in RE compilation - initial check-in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/grep_kernel.h

    r5769 r5816  
    1010namespace IDISA { class IDISA_Builder; }
    1111namespace re { class RE; }
     12namespace cc { class Alphabet; }
    1213namespace kernel {
    1314
     
    4243class ICGrepKernel : public ICGrepSignature, public pablo::PabloKernel {
    4344public:
    44     ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, re::RE * const re_ast, const unsigned numOfCharacterClasses = 8);
     45    ICGrepKernel(const std::unique_ptr<kernel::KernelBuilder> & iBuilder, re::RE * const re_ast, std::vector<cc::Alphabet *> alphabets = {});
    4546    std::string makeSignature(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
    4647    bool isCachable() const override { return true; }
    4748protected:
    4849    void generatePabloMethod() override;
     50    std::vector<cc::Alphabet *> mAlphabets;
    4951};
    5052
Note: See TracChangeset for help on using the changeset viewer.