Ignore:
Timestamp:
Dec 21, 2017, 3:22:41 PM (13 months ago)
Author:
cameron
Message:

Adding Alphabet to CCs: initial check-in

File:
1 edited

Legend:

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

    r5748 r5795  
    77
    88#include <vector>
     9#include <cc/alphabet.h>
    910
    1011namespace re { class CC; }
    1112
     13namespace cc {
    1214
    13 void doMultiplexCCs(const std::vector<const re::CC *> & CCs,
    14                     std::vector<std::vector<unsigned>> & exclusiveSetIDs,
    15                     std::vector<re::CC *> & multiplexedCCs);
     15class MultiplexedAlphabet : public Alphabet {
     16public:
     17    MultiplexedAlphabet(std::string alphabetName, const std::vector<const re::CC *> CCs);
     18   
     19    std::vector<std::vector<unsigned>> getExclusiveSetIDs();
     20   
     21    std::vector<re::CC *> getMultiplexedCCs();
     22private:
     23    std::vector<std::vector<unsigned>> mExclusiveSetIDs;
     24    std::vector<re::CC *> mMultiplexedCCs;
     25};
     26}
     27
    1628
    1729#endif
Note: See TracChangeset for help on using the changeset viewer.