Browse Source

Add method 'JDDNode JDDNode.copy()'

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@10426 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 11 years ago
parent
commit
b4f94e36a5
  1. 12
      prism/src/jdd/JDDNode.java

12
prism/src/jdd/JDDNode.java

@ -118,6 +118,18 @@ public class JDDNode
}
return result;
}
/**
* Returns a referenced copy of this node.
* This has the effect of increasing the reference count
* for the underlying MTBDD.
* <br>[ REFS: <i>result</i>, DEREFS: <i>none</i> ]
*/
public JDDNode copy()
{
JDD.Ref(this);
return new JDDNode(this);
}
}
//------------------------------------------------------------------------------
Loading…
Cancel
Save