Skip to content

Commit

Permalink
Adjusted version in POM an files
Browse files Browse the repository at this point in the history
  • Loading branch information
czengler committed May 8, 2019
1 parent 9ed2337 commit ae79302
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 23 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![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)
[![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)

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

Expand All @@ -19,7 +19,7 @@ LogicNG is released in the Maven Central Repository. To include it just add
<dependency>
<groupId>org.logicng</groupId>
<artifactId>logicng</artifactId>
<version>1.5.0</version>
<version>1.5.1</version>
</dependency>
```
to your Maven POM.
Expand Down Expand Up @@ -63,6 +63,13 @@ The library is released under the Apache License and therefore is free to use in

## Changelog

### Version 1.5.1 (Release May 2019)
* Introduced a new `FormulaHelper` class for small utility methods on formulas
* Added a new NNF predicate
* Fixed an unspecified behaviour in `SATPredicate`
* Fixed a small performance issue in the new backbone solver
* Fixed a bug in a special case of the CNF transformation of a pseudo-Boolean constraint

### Version 1.5.0 (Release March 2019)
* Algorithm & data structures for efficiently computing backbones of formulas
* Data structures for UBTrees in order to efficiently identify sub- and supersets
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/org/logicng/backbones/BackboneGeneration.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

import java.util.Collection;
import java.util.Collections;
import java.util.SortedSet;
import java.util.TreeSet;

/**
* Main entry point for backbone computations.
Expand All @@ -44,7 +42,7 @@
* For more control over the backbone solver you can create an instance of
* {@link MiniSatBackbone} directly. E.g., with an instance of {@link MiniSatBackbone}
* the already loaded formulas can be re-used for multiple backbone computations.
* @version 1.5.0
* @version 1.5.1
* @since 1.5.0
*/
public class BackboneGeneration {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/logicng/backbones/MiniSatBackbone.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* <p>
* Reference: Algorithm 3 in M. Janota, I. Lynce, J. Marques-Silva, Algorithms for Computing Backbones of Propositional
* Formulae, AI Communications, Volume 28(2), 161-177, 2015.
* @version 1.5.0
* @version 1.5.1
* @since 1.5.0
*/
public class MiniSatBackbone extends MiniSat2Solver {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@
import java.util.SortedMap;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.TreeSet;

/**
* A list of formulas. This can represent the operands of an n-ary operator, a CNF, a DNF, a constraint, etc.
* @version 1.0
* @version 1.5.1
* @since 1.0
*/
public final class ImmutableFormulaList implements Iterable<Formula> {
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/logicng/formulas/BinaryOperator.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.SortedSet;
import java.util.TreeSet;

/**
* Super class for Boolean binary operators.
* @version 1.2
* @version 1.5.1
* @since 1.0
*/
public abstract class BinaryOperator extends Formula {
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/logicng/formulas/NAryOperator.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@
import java.util.List;
import java.util.NoSuchElementException;
import java.util.SortedSet;
import java.util.TreeSet;

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

/**
* Super class for Boolean n-ary operators.
* @version 1.1
* @version 1.5.1
* @since 1.0
*/
public abstract class NAryOperator extends Formula {
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/org/logicng/formulas/PBConstraint.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@
import java.util.SortedMap;
import java.util.SortedSet;
import java.util.TreeMap;
import java.util.TreeSet;

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

/**
* A pseudo-Boolean constraint of the form {@code c_1 * l_1 + ... + c_n * l_n R k} where {@code R} is one of
* {@code =, >, >=, <, <=}.
* @version 1.3
* @version 1.5.1
* @since 1.0
*/
public final class PBConstraint extends Formula {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/**
* The pre-defined predicate cache entries.
* @version 1.3
* @version 1.5.1
* @since 1.0
*/
public enum PredicateCacheEntry implements CacheEntry {
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/org/logicng/predicates/NNFPredicate.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,12 @@
import org.logicng.formulas.Formula;
import org.logicng.formulas.FormulaPredicate;

import static org.logicng.formulas.cache.PredicateCacheEntry.IS_AIG;
import static org.logicng.formulas.cache.PredicateCacheEntry.IS_CNF;
import static org.logicng.formulas.cache.PredicateCacheEntry.IS_NNF;

/**
* NNF predicate. Indicates whether a formula is in NNF or not.
* @version 1.6.0
* @since 1.6.0
* @version 1.5.1
* @since 1.5.1
*/
public final class NNFPredicate implements FormulaPredicate {
@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/logicng/pseudobooleans/PBEncoder.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

/**
* An encoder for pseudo-Boolean constraints.
* @version 1.1
* @version 1.5.1
* @since 1.0
*/
public class PBEncoder {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/logicng/util/FormulaHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/**
* A class which contains utility methods for {@link Formula} objects.
* @version 1.5.1
* @since 1.5.1
*/
public class FormulaHelper {

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/logicng/formulas/CacheTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

/**
* Unit tests for the package formulas.cache.
* @version 1.3
* @version 1.5.1
* @since 1.1
*/
public class CacheTest {
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/logicng/predicates/NNFPredicateTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

/**
* Unit tests for the nnf predicate.
* @version 1.6.0
* @since 1.6.0
* @version 1.5.1
* @since 1.5.1
*/
public class NNFPredicateTest {

Expand Down
2 changes: 2 additions & 0 deletions src/test/java/org/logicng/util/FormulaHelperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@

/**
* Unit tests for {@link FormulaHelper}.
* @version 1.5.1
* @since 1.5.1
*/
public class FormulaHelperTest {

Expand Down

0 comments on commit ae79302

Please sign in to comment.