Skip to content

Commit ae79302

Browse files
committed
Adjusted version in POM an files
1 parent 9ed2337 commit ae79302

File tree

14 files changed

+26
-23
lines changed

14 files changed

+26
-23
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![wercker status](https://app.wercker.com/status/24c4765f3a0d79520ad80a1e4c20cfa2/s/master "wercker status")](https://app.wercker.com/project/bykey/24c4765f3a0d79520ad80a1e4c20cfa2) [![Coverage Status](https://coveralls.io/repos/logic-ng/LogicNG/badge.svg?branch=master&service=github)](https://coveralls.io/github/logic-ng/LogicNG?branch=master) ![License](https://img.shields.io/badge/license-Apache%202-blue.svg) ![Version](https://img.shields.io/badge/version-1.5.0-ff69b4.svg)
1+
[![wercker status](https://app.wercker.com/status/24c4765f3a0d79520ad80a1e4c20cfa2/s/master "wercker status")](https://app.wercker.com/project/bykey/24c4765f3a0d79520ad80a1e4c20cfa2) [![Coverage Status](https://coveralls.io/repos/logic-ng/LogicNG/badge.svg?branch=master&service=github)](https://coveralls.io/github/logic-ng/LogicNG?branch=master) ![License](https://img.shields.io/badge/license-Apache%202-blue.svg) ![Version](https://img.shields.io/badge/version-1.5.1-ff69b4.svg)
22

33
<img src="https://github.com/logic-ng/LogicNG/blob/master/doc/logo/logo_big.png" alt="logo" width="300">
44

@@ -19,7 +19,7 @@ LogicNG is released in the Maven Central Repository. To include it just add
1919
<dependency>
2020
<groupId>org.logicng</groupId>
2121
<artifactId>logicng</artifactId>
22-
<version>1.5.0</version>
22+
<version>1.5.1</version>
2323
</dependency>
2424
```
2525
to your Maven POM.
@@ -63,6 +63,13 @@ The library is released under the Apache License and therefore is free to use in
6363

6464
## Changelog
6565

66+
### Version 1.5.1 (Release May 2019)
67+
* Introduced a new `FormulaHelper` class for small utility methods on formulas
68+
* Added a new NNF predicate
69+
* Fixed an unspecified behaviour in `SATPredicate`
70+
* Fixed a small performance issue in the new backbone solver
71+
* Fixed a bug in a special case of the CNF transformation of a pseudo-Boolean constraint
72+
6673
### Version 1.5.0 (Release March 2019)
6774
* Algorithm & data structures for efficiently computing backbones of formulas
6875
* Data structures for UBTrees in order to efficiently identify sub- and supersets

src/main/java/org/logicng/backbones/BackboneGeneration.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434

3535
import java.util.Collection;
3636
import java.util.Collections;
37-
import java.util.SortedSet;
38-
import java.util.TreeSet;
3937

4038
/**
4139
* Main entry point for backbone computations.
@@ -44,7 +42,7 @@
4442
* For more control over the backbone solver you can create an instance of
4543
* {@link MiniSatBackbone} directly. E.g., with an instance of {@link MiniSatBackbone}
4644
* the already loaded formulas can be re-used for multiple backbone computations.
47-
* @version 1.5.0
45+
* @version 1.5.1
4846
* @since 1.5.0
4947
*/
5048
public class BackboneGeneration {

src/main/java/org/logicng/backbones/MiniSatBackbone.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
* <p>
5656
* Reference: Algorithm 3 in M. Janota, I. Lynce, J. Marques-Silva, Algorithms for Computing Backbones of Propositional
5757
* Formulae, AI Communications, Volume 28(2), 161-177, 2015.
58-
* @version 1.5.0
58+
* @version 1.5.1
5959
* @since 1.5.0
6060
*/
6161
public class MiniSatBackbone extends MiniSat2Solver {

src/main/java/org/logicng/collections/ImmutableFormulaList.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@
4848
import java.util.SortedMap;
4949
import java.util.SortedSet;
5050
import java.util.TreeMap;
51-
import java.util.TreeSet;
5251

5352
/**
5453
* A list of formulas. This can represent the operands of an n-ary operator, a CNF, a DNF, a constraint, etc.
55-
* @version 1.0
54+
* @version 1.5.1
5655
* @since 1.0
5756
*/
5857
public final class ImmutableFormulaList implements Iterable<Formula> {

src/main/java/org/logicng/formulas/BinaryOperator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@
3535
import java.util.Iterator;
3636
import java.util.NoSuchElementException;
3737
import java.util.SortedSet;
38-
import java.util.TreeSet;
3938

4039
/**
4140
* Super class for Boolean binary operators.
42-
* @version 1.2
41+
* @version 1.5.1
4342
* @since 1.0
4443
*/
4544
public abstract class BinaryOperator extends Formula {

src/main/java/org/logicng/formulas/NAryOperator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,12 @@
4040
import java.util.List;
4141
import java.util.NoSuchElementException;
4242
import java.util.SortedSet;
43-
import java.util.TreeSet;
4443

4544
import static org.logicng.formulas.cache.TransformationCacheEntry.NNF;
4645

4746
/**
4847
* Super class for Boolean n-ary operators.
49-
* @version 1.1
48+
* @version 1.5.1
5049
* @since 1.0
5150
*/
5251
public abstract class NAryOperator extends Formula {

src/main/java/org/logicng/formulas/PBConstraint.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,13 @@
4747
import java.util.SortedMap;
4848
import java.util.SortedSet;
4949
import java.util.TreeMap;
50-
import java.util.TreeSet;
5150

5251
import static org.logicng.formulas.cache.TransformationCacheEntry.NNF;
5352

5453
/**
5554
* A pseudo-Boolean constraint of the form {@code c_1 * l_1 + ... + c_n * l_n R k} where {@code R} is one of
5655
* {@code =, >, >=, <, <=}.
57-
* @version 1.3
56+
* @version 1.5.1
5857
* @since 1.0
5958
*/
6059
public final class PBConstraint extends Formula {

src/main/java/org/logicng/formulas/cache/PredicateCacheEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
/**
3232
* The pre-defined predicate cache entries.
33-
* @version 1.3
33+
* @version 1.5.1
3434
* @since 1.0
3535
*/
3636
public enum PredicateCacheEntry implements CacheEntry {

src/main/java/org/logicng/predicates/NNFPredicate.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@
3232
import org.logicng.formulas.Formula;
3333
import org.logicng.formulas.FormulaPredicate;
3434

35-
import static org.logicng.formulas.cache.PredicateCacheEntry.IS_AIG;
36-
import static org.logicng.formulas.cache.PredicateCacheEntry.IS_CNF;
3735
import static org.logicng.formulas.cache.PredicateCacheEntry.IS_NNF;
3836

3937
/**
4038
* NNF predicate. Indicates whether a formula is in NNF or not.
41-
* @version 1.6.0
42-
* @since 1.6.0
39+
* @version 1.5.1
40+
* @since 1.5.1
4341
*/
4442
public final class NNFPredicate implements FormulaPredicate {
4543
@Override

src/main/java/org/logicng/pseudobooleans/PBEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
/**
5050
* An encoder for pseudo-Boolean constraints.
51-
* @version 1.1
51+
* @version 1.5.1
5252
* @since 1.0
5353
*/
5454
public class PBEncoder {

src/main/java/org/logicng/util/FormulaHelper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
/**
1212
* A class which contains utility methods for {@link Formula} objects.
13+
* @version 1.5.1
14+
* @since 1.5.1
1315
*/
1416
public class FormulaHelper {
1517

src/test/java/org/logicng/formulas/CacheTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
/**
4141
* Unit tests for the package formulas.cache.
42-
* @version 1.3
42+
* @version 1.5.1
4343
* @since 1.1
4444
*/
4545
public class CacheTest {

src/test/java/org/logicng/predicates/NNFPredicateTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434

3535
/**
3636
* Unit tests for the nnf predicate.
37-
* @version 1.6.0
38-
* @since 1.6.0
37+
* @version 1.5.1
38+
* @since 1.5.1
3939
*/
4040
public class NNFPredicateTest {
4141

src/test/java/org/logicng/util/FormulaHelperTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939

4040
/**
4141
* Unit tests for {@link FormulaHelper}.
42+
* @version 1.5.1
43+
* @since 1.5.1
4244
*/
4345
public class FormulaHelperTest {
4446

0 commit comments

Comments
 (0)