1 /* 2 * CDependencyMap.hh 3 * 4 * Copyright 2014-2018 D. Mitch Bailey cvc at shuharisystem dot com 5 * 6 * This file is part of cvc. 7 * 8 * cvc is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * (at your option) any later version. 12 * 13 * cvc is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with cvc. If not, see <http://www.gnu.org/licenses/>. 20 * 21 * You can download cvc from https://github.com/d-m-bailey/cvc.git 22 */ 23 24 #ifndef CDEPENDENCYMAP_HH_ 25 #define CDEPENDENCYMAP_HH_ 26 27 #include "Cvc.hh" 28 29 class CDependencyMap : public unordered_map<netId_t, list<netId_t>> { 30 public: CDependencyMap(float theLoadFactor=DEFAULT_LOAD_FACTOR)31 CDependencyMap(float theLoadFactor = DEFAULT_LOAD_FACTOR) {max_load_factor(theLoadFactor);} 32 }; 33 34 #endif /* CDEPENDENCYMAP_HH_ */ 35