Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 440a1b52 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- Added BasicAlignment.deleteAllCells()

parent a82815eb
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ with a warning:
<li>Changed default type of <tt>StringDistAlignment</tt> to "?*" for
preserving the previous behaviour (impl)</li>
<li>Added level lines in the triangle display of <tt>GroupEval</tt> (util)</li>
<li>Added <tt>BasicAlignment.deleteAllCells()</tt> (impl)</li>
<li>Suppressed the guard for applying the Hungarian algorithm to
equisimilarity situations (impl)</li>
<li>Fixed a bug on <tt>DistanceAlignment</tt> 1:1 extraction when the
......
......@@ -248,6 +248,11 @@ public class BasicAlignment implements Alignment {
return array;
}
public void deleteAllCells() {
hash1 = new Hashtable<Object,Set<Cell>>();
hash2 = new Hashtable<Object,Set<Cell>>();
}
/** Cell methods **/
public Cell addAlignCell( String id, Object ob1, Object ob2, Relation relation, double measure, Extensions extensions ) throws AlignmentException {
Cell cell = createCell( id, ob1, ob2, relation, measure);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment