checkpoint i think it works!
[anneal.git] / src / edu / berkeley / qfat / geom / BindingGroup.java
index aec9329..5f6bf2b 100644 (file)
@@ -12,6 +12,8 @@ public class BindingGroup<T extends HasBindingGroup> implements Iterable<T> {
         matrices.put(master, Matrix.ONE);
     }
 
+    public int size() { return matrices.size(); }
+
     public void merge(BindingGroup<T> bg, Matrix m) {
         if (bg==this) throw new Error();
         for(HasBindingGroup hbg : bg.matrices.keySet()) {