77< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
88< meta name ="title " content ="JavaPermutationTools - A Java library for computation on permutations and sequences ">
99< meta name ="referrer " content ="strict-origin-when-cross-origin ">
10- < meta http-equiv ="Content-Security-Policy " content ="object-src 'none'; script-src 'sha384-i9On6a8pULeN0XD9l3J0gZMnvbggxt4HiEpfuxzePuYS3uDQJ/7mbPyYPfqe/wSg' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:; base-uri 'none'; style-src https://*.doubleclick.net https://*.googlesyndication.com https://fonts.googleapis.com 'unsafe-inline'; font-src fonts.gstatic.com; ">
10+ < meta http-equiv ="Content-Security-Policy " content ="object-src 'none'; script-src 'sha384-i9On6a8pULeN0XD9l3J0gZMnvbggxt4HiEpfuxzePuYS3uDQJ/7mbPyYPfqe/wSg' 'sha384-d4YOhBtxn1YZo6bjT3h8O9J9lOxNJ4OIauaaKOXGw5bBUhDe+lDgB4QJNNwZONeu' ' unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:; base-uri 'none'; style-src https://*.doubleclick.net https://*.googlesyndication.com https://fonts.googleapis.com 'unsafe-inline'; font-src fonts.gstatic.com; ">
1111< meta itemprop ="name " content ="JavaPermutationTools - A Java library for computation on permutations and sequences ">
1212< meta name ="description " content ="The JavaPermutationTools (JPT) library includes an efficient object-oriented implementation of Permutations, as well as a variety of permutation distance metrics, distance metrics on sequences (i.e., Strings, arrays, and other ordered data types), and implementations of algorithms for randomly sampling from arrays. ">
1313< meta itemprop ="description " content ="The JavaPermutationTools (JPT) library includes an efficient object-oriented implementation of Permutations, as well as a variety of permutation distance metrics, distance metrics on sequences (i.e., Strings, arrays, and other ordered data types), and implementations of algorithms for randomly sampling from arrays. ">
5353h1 {margin : 10px auto; padding : 10px ;}
5454.badge-height { position : relative; width : 100% ; height : 20px ;}
5555.footer-link { padding : 0 10px 0 10px ; }
56+ ins .adsbygoogle [data-ad-status = "unfilled" ] {display : none !important ;}
5657@media screen and (min-width : 601px ){
5758# menu-icon { display : none; }
5859nav div a : not (.active ) { display : block; }
@@ -120,10 +121,19 @@ <h3>Overview</h3>
120121library for representing and generating permutations and sequences, as well as performing
121122computation on permutations and sequences. JPT's Permutation class is an efficient object-oriented implementation
122123of a permutation, and includes a variety of methods for manipulating the permutation (e.g., swapping elements,
123- reversing, scrambling, among others), and also supports iterating over permutations. The JPT library also includes
124- implementations of a variety of permutation distance metrics as well as distance metrics on sequences (i.e., Strings, arrays,
125- and other ordered data types). Additionally, JPT includes implementations of several algorithms for random sampling
126- from arrays.</ p >
124+ reversing, scrambling, among many others), generating random permutations, and it also supports iterating
125+ over permutations. The JPT library also includes
126+ implementations of a variety of permutation distance metrics as well as distance
127+ metrics on sequences (i.e., Strings, arrays, and other ordered data types). The distance metrics
128+ implement a Java interface, provided in the library, that enables easily implementing your own
129+ custom distance metrics and interfacing with JPT's other functionality. Additionally,
130+ JPT includes implementations of several algorithms for random sampling from arrays.</ p >
131+
132+ < div class ="container-for-ad ">
133+ < ins class ="adsbygoogle " style ="display:block; text-align:center; " data-ad-layout ="in-article " data-ad-format ="fluid " data-ad-client ="ca-pub-6813707428591829 " data-ad-slot ="2701150451 "> </ ins >
134+ < script > ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ; </ script >
135+ </ div >
136+
127137< p > The < a href ="https://github.com/cicirello/JavaPermutationTools " itemprop ="codeRepository "> JPT source
128138code repository</ a > is hosted on GitHub; and is licensed under
129139the < a itemprop ="license " href ="https://www.gnu.org/licenses/gpl-3.0.html "> GNU
@@ -132,20 +142,18 @@ <h3>Overview</h3>
132142The library is regularly published
133143to < a href ="https://central.sonatype.com/artifact/org.cicirello/jpt/ "> Maven Central</ a > ,
134144from which it is easily imported into software projects using Maven and other
135- commonly used build tools.</ p >
136- < p > Additionally, there is a
145+ commonly used build tools. Additionally, there is a
137146GitHub < a href ="https://github.com/cicirello/jpt-examples "> repository of example programs</ a > that
138147show basic usage of the JPT library, as well as replication programs that
139148reproduce results found in published papers.</ p >
140- < p itemprop ="author copyrightHolder " itemscope itemtype ="http://schema.org/Person "> The JPT library
141- originated as part of the research
142- of < a itemprop ="url mainEntityOfPage " href ="https://www.cicirello.org/ "> < span itemprop ="name "> Vincent
143- A. Cicirello</ span > </ a > .</ p >
144149</ section >
145150< section >
146151< h3 > How to Cite</ h3 >
147152< div class ="center "> < a href ="https://doi.org/10.21105/joss.00950 "> < img alt ="https://doi.org/10.21105/joss.00950 " src ="https://joss.theoj.org/papers/10.21105/joss.00950/status.svg " height ="20 " width ="168 "> </ a > </ div >
148- < p > If you use JPT in your research, please cite the following article which describes the library:</ p >
153+ < p > The JPT library originated as part of the research
154+ of < span itemprop ="author copyrightHolder " itemscope itemtype ="http://schema.org/Person "> < a itemprop ="url mainEntityOfPage " href ="https://www.cicirello.org/ "> < span itemprop ="name "> Vincent
155+ A. Cicirello</ span > </ a > </ span > . If you use JPT in your research, please cite the following
156+ article which describes the library:</ p >
149157< ul >
150158< li > Vincent A. Cicirello.
151159< a href ="https://www.cicirello.org/publications/cicirello2018joss.html "> JavaPermutationTools: A Java Library of Permutation Distance Metrics</ a > .
@@ -171,6 +179,12 @@ <h3>Permutation Distance Measures</h3>
171179also known as bubble sort distance</ li >
172180< li > reinsertion distance: minimum number of removal/reinsertion operations necessary to transform one permutation into the other</ li >
173181</ ul >
182+
183+ < div class ="container-for-ad ">
184+ < ins class ="adsbygoogle " style ="display:block; text-align:center; " data-ad-layout ="in-article " data-ad-format ="fluid " data-ad-client ="ca-pub-6813707428591829 " data-ad-slot ="3571378994 "> </ ins >
185+ < script > ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ; </ script >
186+ </ div >
187+
174188< p > < strong > Edge-based distances:</ strong > Distance measures when the permutations represent a sequence of
175189edges (e.g., when adjacent permutation elements correspond to edges):</ p >
176190< ul >
@@ -195,7 +209,13 @@ <h3>Permutation Distance Measures</h3>
195209< li > squared deviation distance: sum of the squares of the positional deviations of the permutation elements</ li >
196210< li > weighted Kendall tau distance: Liu and Han's (2006) weighted version of Kendall tau distance</ li >
197211</ ul >
212+
213+ < div class ="container-for-ad ">
214+ < ins class ="adsbygoogle " style ="display:block; text-align:center; " data-ad-layout ="in-article " data-ad-format ="fluid " data-ad-client ="ca-pub-6813707428591829 " data-ad-slot ="7239161265 "> </ ins >
215+ < script > ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ; </ script >
216+ </ div >
198217</ section >
218+
199219< section >
200220< h3 > Sequence Distance Measures</ h3 >
201221< p > JPT also includes a variety of string distance measures that can be used to measure the
@@ -238,7 +258,13 @@ <h3>Dependent Libraries</h3>
238258of permutations. Thus, it uses JPT's Permutation class as an efficient representation
239259of permutations.</ li >
240260</ ul >
261+
262+ < div class ="container-for-ad ">
263+ < ins class ="adsbygoogle " style ="display:block; text-align:center; " data-ad-layout ="in-article " data-ad-format ="fluid " data-ad-client ="ca-pub-6813707428591829 " data-ad-slot ="9856250587 "> </ ins >
264+ < script > ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } ) ; </ script >
265+ </ div >
241266</ section >
267+
242268< section >
243269< h3 > Importing from Maven Central</ h3 >
244270< div class ="center badge-height "> < a href ="https://central.sonatype.com/artifact/org.cicirello/jpt/ "> < img alt ="Latest release on Maven Central " src ="https://img.shields.io/maven-central/v/org.cicirello/jpt.svg?label=Maven%20Central&logo=apachemaven "> </ a > </ div >
0 commit comments