private final HashMap<String, HashSet<ConditionalInterface>> interfaceCluster;
private final HashMap<ConditionalInterface, HashSet<ConditionalInterface>> originalHBRelations;
public final HashMap<ConditionalInterface, HashSet<ConditionalInterface>> hbRelations;
+ public final HashMap<String, String> options;
- public GlobalConstruct(SequentialDefineSubConstruct code) {
+ public GlobalConstruct(SequentialDefineSubConstruct code, HashMap<String, String> options) {
this.code = code;
this.interfaceCluster = new HashMap<String, HashSet<ConditionalInterface>>();
this.originalHBRelations = new HashMap<ConditionalInterface, HashSet<ConditionalInterface>>();
this.hbRelations = new HashMap<ConditionalInterface, HashSet<ConditionalInterface>>();
+ this.options = options;
}
-
+
public void addInterface2Cluster(String clusterName, ConditionalInterface condInterface) {
if (!interfaceCluster.containsKey(clusterName)) {
interfaceCluster.put(clusterName, new HashSet<ConditionalInterface>());