/**
  * Iteratively update the biseration.
  *
  * @throws IOException Signals that an I/O exception has occurred.
  */
 public void iterativelyUpdate() throws IOException {
   for (int i = 0; i < updates.length; i++) {
     rowSeriation.foldInNewInstance(updates[i]);
     updateFeatureSpaceSeriation();
   }
   global_update_iteration += updates.length;
   rowSeriation.writeNewOrder(
       SparseVector.transpose(columnSeriation.getRearranged()),
       null,
       collection + "-biseriated-updated-" + (global_update_iteration) + ".dat");
 }
 private void updateFeatureSpaceSeriation() {
   columnSeriation.setMx(SparseVector.transpose(rowSeriation.getMx()));
   for (int i = 0; i < columnSeriation.getMx().length; i++) {
     columnSeriation.updateOrderInsert(i);
   }
 }
 public void addCollectionUpdate(String collectionUpdate) throws IOException {
   updates = SparseVector.readSparseMatrix(collectionUpdate);
   rowSeriation.mergeUpdates(updates);
 }