Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
440a1b52
Commit
440a1b52
authored
13 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- Added BasicAlignment.deleteAllCells()
parent
a82815eb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
html/relnotes.html
+1
-0
1 addition, 0 deletions
html/relnotes.html
src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
+5
-0
5 additions, 0 deletions
src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
with
6 additions
and
0 deletions
html/relnotes.html
+
1
−
0
View file @
440a1b52
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/fr/inrialpes/exmo/align/impl/BasicAlignment.java
+
5
−
0
View file @
440a1b52
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment