Ignore:
Timestamp:
Mar 29, 2018, 11:24:15 AM (18 months ago)
Author:
cameron
Message:

Multithreaded simple RE mode initial check-in

Location:
icGREP/icgrep-devel/icgrep/cc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/cc/multiplex_CCs.cpp

    r5836 r5934  
    3131//
    3232
    33 std::map<UCD::codepoint_t, boost::dynamic_bitset<>> computeBreakpoints(const std::vector<const re::CC *> & CCs) {
     33std::map<UCD::codepoint_t, boost::dynamic_bitset<>> computeBreakpoints(const std::vector<re::CC *> & CCs) {
    3434    std::map<UCD::codepoint_t, boost::dynamic_bitset<>> breakpoints;
    3535    for (unsigned i = 0; i < CCs.size(); i++) {
     
    5252}
    5353
    54 void doMultiplexCCs(const std::vector<const re::CC *> & CCs,
     54void doMultiplexCCs(const std::vector<re::CC *> & CCs,
    5555                    std::vector<std::vector<unsigned>> & exclusiveSetIDs,
    5656                    std::vector<re::CC *> & multiplexedCCs) {
     
    113113
    114114
    115 MultiplexedAlphabet::MultiplexedAlphabet(std::string alphabetName, const std::vector<const re::CC *> CCs)
     115MultiplexedAlphabet::MultiplexedAlphabet(std::string alphabetName, const std::vector<re::CC *> CCs)
    116116    : Alphabet(alphabetName, ClassTypeId::MultiplexedAlphabet), mUnicodeSets(CCs) {
    117117        if (CCs.size() > 0) {
  • icGREP/icgrep-devel/icgrep/cc/multiplex_CCs.h

    r5836 r5934  
    1515class MultiplexedAlphabet : public Alphabet {
    1616public:
    17     MultiplexedAlphabet(std::string alphabetName, const std::vector<const re::CC *> CCs);
     17    MultiplexedAlphabet(std::string alphabetName, const std::vector<re::CC *> CCs);
    1818    static inline bool classof(const Alphabet * a) {
    1919        return a->getClassTypeId() == ClassTypeId::MultiplexedAlphabet;
     
    4040private:
    4141    const Alphabet * mSourceAlphabet;
    42     const std::vector<const re::CC *> mUnicodeSets;
     42    const std::vector<re::CC *> mUnicodeSets;
    4343    std::vector<std::vector<unsigned>> mExclusiveSetIDs;
    4444    std::vector<re::CC *> mMultiplexedCCs;
Note: See TracChangeset for help on using the changeset viewer.