Skip to content

Commit 6c0026b

Browse files
committed
fix minor typos
1 parent 882d4ee commit 6c0026b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* <li>maximum numbers of operands for conjunctions, disjunctions, PBCs, and CCs</li>
4747
* </ul>
4848
* Note that the weights can only be applied for inner nodes of the generated formula,
49-
* since the 'leafs' of a formula in LogicNG are <b>always</b> literals or PBCs. So the weight of literals and PBCs
49+
* since the 'leaves' of a formula in LogicNG are <b>always</b> literals or PBCs. So the weight of literals and PBCs
5050
* will effectively be higher and the weights of all other formula types (especially conjunctions and disjunctions)
5151
* will be lower. Similarly, the weight of constants will usually be lower, because they are always reduced in LogicNG
5252
* unless they are a single formula.
@@ -278,8 +278,8 @@ public Builder weightNegativeLiteral(final double weightNegativeLiteral) {
278278
}
279279

280280
/**
281-
* Sets the relative weight of a disjuction.
282-
* @param weightOr the relative weight of a disjuction
281+
* Sets the relative weight of a disjunction.
282+
* @param weightOr the relative weight of a disjunction
283283
* @return the builder
284284
*/
285285
public Builder weightOr(final double weightOr) {

0 commit comments

Comments
 (0)