Skip to content

Commit

Permalink
fix minor typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rouven-walter committed Jul 26, 2022
1 parent 882d4ee commit 6c0026b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/logicng/util/FormulaRandomizerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* <li>maximum numbers of operands for conjunctions, disjunctions, PBCs, and CCs</li>
* </ul>
* Note that the weights can only be applied for inner nodes of the generated formula,
* since the 'leafs' of a formula in LogicNG are <b>always</b> literals or PBCs. So the weight of literals and PBCs
* since the 'leaves' of a formula in LogicNG are <b>always</b> literals or PBCs. So the weight of literals and PBCs
* will effectively be higher and the weights of all other formula types (especially conjunctions and disjunctions)
* will be lower. Similarly, the weight of constants will usually be lower, because they are always reduced in LogicNG
* unless they are a single formula.
Expand Down Expand Up @@ -278,8 +278,8 @@ public Builder weightNegativeLiteral(final double weightNegativeLiteral) {
}

/**
* Sets the relative weight of a disjuction.
* @param weightOr the relative weight of a disjuction
* Sets the relative weight of a disjunction.
* @param weightOr the relative weight of a disjunction
* @return the builder
*/
public Builder weightOr(final double weightOr) {
Expand Down

0 comments on commit 6c0026b

Please sign in to comment.