Ignore:
Timestamp:
Dec 21, 2017, 3:22:41 PM (15 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.cpp

    r5748 r5795  
    88#include <re/re_cc.h>
    99#include "boost/dynamic_bitset.hpp"
     10#include <cc/multiplex_CCs.h>
     11
     12namespace cc {
    1013
    1114//
     
    104107    }
    105108}
     109
     110
     111
     112MultiplexedAlphabet::MultiplexedAlphabet(std::string alphabetName, const std::vector<const re::CC *> CCs)
     113    : Alphabet(alphabetName) {
     114        cc::doMultiplexCCs(CCs, mExclusiveSetIDs, mMultiplexedCCs);
     115}
     116
     117std::vector<std::vector<unsigned>> MultiplexedAlphabet::getExclusiveSetIDs() {
     118    return mExclusiveSetIDs;
     119}
     120
     121std::vector<re::CC *> MultiplexedAlphabet::getMultiplexedCCs() {
     122    return mMultiplexedCCs;
     123}
     124}
     125
Note: See TracChangeset for help on using the changeset viewer.