comparators
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>de.cit-ec.tcs.alignment</groupId> <artifactId>comparators</artifactId> <version>3.1.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- TCS Alignment Toolbox Version 3 Copyright (C) 2016-2018 Benjamin Paaßen AG Theoretical Computer Science Centre of Excellence Cognitive Interaction Technology (CITEC) University of Bielefeld This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.cit-ec.tcs.alignment</groupId> <artifactId>comparators</artifactId> <packaging>jar</packaging> <name>TCS Alignment Toolbox Comparators</name> <description> 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. </description> <url>http://openresearch.cit-ec.de/projects/tcs</url> <parent> <groupId>de.cit-ec.tcs</groupId> <artifactId>alignment</artifactId> <version>3.1.1</version> <relativePath>../../pom.xml</relativePath> </parent> <licenses> <license> <name>The GNU Affero General Public License, Version 3</name> <url>https://gnu.org/licenses/agpl.html</url> </license> </licenses> <developers> <developer> <name>Benjamin Paaßen</name> <email>bpaassen@techfak.uni-bielefeld.de</email> <organization>Centre of Excellence - Cognitive Interaction Technology (CITEC), Faculty of Technology, Bielefeld University</organization> <organizationUrl>https://www.cit-ec.de/</organizationUrl> </developer> </developers> <scm> <connection>scm:git:https://opensource.cit-ec.de/git/tcs.tcs-alignment</connection> <developerConnection>scm:git:https://opensource.cit-ec.de/git/tcs.tcs-alignment</developerConnection> <url>http://openresearch.cit-ec.de/projects/tcs/repository</url> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>1.7</maven.compiler.source> <maven.compiler.target>1.7</maven.compiler.target> <netbeans.hint.license>agpl_license_header</netbeans.hint.license> </properties> <dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.8</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.10</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <!-- Default build properties --> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5.1</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> <!-- javadoc plugin for javadoc generation without Netbeans --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <configuration> <bottom>Copyright (C) 2016-2018 Benjamin Paaßen, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/</bottom> </configuration> </plugin> </plugins> </build> <profiles> <!-- This is a special profile for deploying a version, which generates everything the mvn central repository requires. For all non-deploying builds this is irrelevant. --> <profile> <id>release</id> <build> <plugins> <!-- Nexus Staging Plugin for Deploying to central repository --> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.3</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <!-- Maven Source Plugin for generating a jar containing all sources. This is required by the maven central repository. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <!-- Maven Javadoc Plugin for generating a jar containing all javadoc. This is required by the maven central repository. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- Maven PGP Plugin for generating a pgp signature of the project. This is required by the maven central repository. --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>