TCS Alignment Toolbox Comparators

This module defines the interfaces for Comparators in the TCS Alignment Toolbox. A Comparator has the purpose of defining the dissimilarity between elements in the input sequences of an Alignment. More specific information on Comparators can be found in the 'Comparator' interface. You can find a lot of helpful standard implementations of Comparators in the comparators-lib module. In the TCS Alignment Toolbox we require the output values of Comparators to lie in the range [0,1]. Many natural dissimilarities on value sets do not meet this criterion, such that additional normalization has to be applied. To that end this package also contains a Normalizer interface for functions that map real values from the range [0, infinity) to the range [0,1]. This package also provides a few convenience implementations of the Comparator interface to make the implementation of custom Comparators simpler, namely: SkipExtendedComparator, ParameterLessSkipExtendedComparator, ComparisonBasedSkipExtendedComparator, and ParameterLessComparisonBasedSkipExtendedComparator. Finally the TCS Alignment Toolbox also provides the means to learn parameters of Comparators. To enable that Comparators must implement the DerivableComparator interface to properly define the parameters that can be learned and the gradient of the dissimilarity with respect to these parameters. Gradients are stored using the Gradient interface as well as some convenience implementations of said interface, namely EmptyGradient, SingletonGradient, ArrayGradient and ListGradient.

License

License

GroupId

GroupId

de.cit-ec.tcs.alignment
ArtifactId

ArtifactId

comparators
Last Version

Last Version

3.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

TCS Alignment Toolbox Comparators
This module defines the interfaces for Comparators in the TCS Alignment Toolbox. A Comparator has the purpose of defining the dissimilarity between elements in the input sequences of an Alignment. More specific information on Comparators can be found in the 'Comparator' interface. You can find a lot of helpful standard implementations of Comparators in the comparators-lib module. In the TCS Alignment Toolbox we require the output values of Comparators to lie in the range [0,1]. Many natural dissimilarities on value sets do not meet this criterion, such that additional normalization has to be applied. To that end this package also contains a Normalizer interface for functions that map real values from the range [0, infinity) to the range [0,1]. This package also provides a few convenience implementations of the Comparator interface to make the implementation of custom Comparators simpler, namely: SkipExtendedComparator, ParameterLessSkipExtendedComparator, ComparisonBasedSkipExtendedComparator, and ParameterLessComparisonBasedSkipExtendedComparator. Finally the TCS Alignment Toolbox also provides the means to learn parameters of Comparators. To enable that Comparators must implement the DerivableComparator interface to properly define the parameters that can be learned and the gradient of the dissimilarity with respect to these parameters. Gradients are stored using the Gradient interface as well as some convenience implementations of said interface, namely EmptyGradient, SingletonGradient, ArrayGradient and ListGradient.
Project URL

Project URL

http://openresearch.cit-ec.de/projects/tcs
Source Code Management

Source Code Management

http://openresearch.cit-ec.de/projects/tcs/repository

Download comparators

How to add to project

<!-- https://jarcasting.com/artifacts/de.cit-ec.tcs.alignment/comparators/ -->
<dependency>
    <groupId>de.cit-ec.tcs.alignment</groupId>
    <artifactId>comparators</artifactId>
    <version>3.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/de.cit-ec.tcs.alignment/comparators/
implementation 'de.cit-ec.tcs.alignment:comparators:3.1.1'
// https://jarcasting.com/artifacts/de.cit-ec.tcs.alignment/comparators/
implementation ("de.cit-ec.tcs.alignment:comparators:3.1.1")
'de.cit-ec.tcs.alignment:comparators:jar:3.1.1'
<dependency org="de.cit-ec.tcs.alignment" name="comparators" rev="3.1.1">
  <artifact name="comparators" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.cit-ec.tcs.alignment', module='comparators', version='3.1.1')
)
libraryDependencies += "de.cit-ec.tcs.alignment" % "comparators" % "3.1.1"
[de.cit-ec.tcs.alignment/comparators "3.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.8

test (1)

Group / Artifact Type Version
junit : junit jar 4.10

Project Modules

There are no modules declared in this project.

Versions

Version
3.1.1
3.1.0
3.0.1
3.0.0
2.1.2
2.1.0
2.0.0