changes.
[IRC.git] / Robust / src / Analysis / SSJava / HNode.java
index 67133fb8b4caa76251a74684d00ecefacefefc28..a565f2bdfbe23e5117f2a9ae52de0a796df9c0b8 100644 (file)
@@ -12,11 +12,15 @@ public class HNode {
   private boolean isSharedNode;
   private boolean isMergeNode;
 
+  // set true if hnode is the first node of the combination chain
+  private boolean isDirectCombinationNode;
+
   public HNode() {
     this.isSkeleton = false;
     this.isCombinationNode = false;
     this.isSharedNode = false;
     this.isMergeNode = false;
+    this.isDirectCombinationNode = false;
   }
 
   public boolean isMergeNode() {
@@ -66,6 +70,14 @@ public class HNode {
     return name;
   }
 
+  public boolean isDirectCombinationNode() {
+    return isDirectCombinationNode;
+  }
+
+  public void setDirectCombinationNode(boolean isDirectCombinationNode) {
+    this.isDirectCombinationNode = isDirectCombinationNode;
+  }
+
   public boolean equals(Object o) {
     if (o instanceof HNode) {
       HNode in = (HNode) o;