@@ -163,6 +163,7 @@ public BDD and(BDD that) {
163
163
* </p>
164
164
*
165
165
* @param that the BDD to 'and' with
166
+ * @return the logical 'and' of the two BDDs
166
167
*/
167
168
public BDD andWith (BDD that ) {
168
169
return this .applyWith (that , BDDFactory .and );
@@ -191,6 +192,7 @@ public BDD or(BDD that) {
191
192
* </p>
192
193
*
193
194
* @param that the BDD to 'or' with
195
+ * @return the logical 'or' of the two BDDs
194
196
*/
195
197
public BDD orWith (BDD that ) {
196
198
return this .applyWith (that , BDDFactory .or );
@@ -219,6 +221,7 @@ public BDD xor(BDD that) {
219
221
* </p>
220
222
*
221
223
* @param that the BDD to 'xor' with
224
+ * @return the logical 'xor' of the two BDDs
222
225
*/
223
226
public BDD xorWith (BDD that ) {
224
227
return this .applyWith (that , BDDFactory .xor );
@@ -247,6 +250,7 @@ public BDD imp(BDD that) {
247
250
* </p>
248
251
*
249
252
* @param that the BDD to 'implication' with
253
+ * @return the logical 'implication' of the two BDDs
250
254
*/
251
255
public BDD impWith (BDD that ) {
252
256
return this .applyWith (that , BDDFactory .imp );
@@ -276,6 +280,7 @@ public BDD biimp(BDD that) {
276
280
* </p>
277
281
*
278
282
* @param that the BDD to 'bi-implication' with
283
+ * @return the logical 'bi-implication' of two BDDs
279
284
*/
280
285
public BDD biimpWith (BDD that ) {
281
286
return this .applyWith (that , BDDFactory .biimp );
@@ -426,6 +431,7 @@ public BDD relprod(BDD that, BDDVarSet var) {
426
431
* </p>
427
432
*
428
433
* @param var BDD containing the variables to be restricted
434
+ * @return the result of the restrict operation
429
435
* @see com.github.javabdd.BDDDomain#set()
430
436
*/
431
437
public abstract BDD restrictWith (BDD var );
@@ -478,12 +484,13 @@ public BDD relprod(BDD that, BDDVarSet var) {
478
484
*
479
485
* @param that the BDD to apply the operator on
480
486
* @param opr the operator to apply
487
+ * @return the result of applying the operator
481
488
*/
482
489
public abstract BDD applyWith (BDD that , BDDFactory .BDDOp opr );
483
490
484
491
/**
485
- * Applies the binary operator {@code opr} to two BDDs and then performs a universal quantification of the
486
- * variables from the variable set {@code var}.
492
+ * Applies the binary operator {@code opr} to two BDDs and then performs a universal quantification of the variables
493
+ * from the variable set {@code var}.
487
494
*
488
495
* <p>
489
496
* Compare to bdd_appall.
@@ -817,8 +824,8 @@ public BigInteger[] scanAllVar() {
817
824
*/
818
825
819
826
/**
820
- * Returns an iteration of the satisfying assignments of this BDD. Returns an iteration of minterms. The
821
- * {@code var} argument is the set of variables that will be mentioned in the result.
827
+ * Returns an iteration of the satisfying assignments of this BDD. Returns an iteration of minterms. The {@code var}
828
+ * argument is the set of variables that will be mentioned in the result.
822
829
*
823
830
* @param var set of variables to mention in result
824
831
* @return an iteration of minterms
@@ -1053,8 +1060,8 @@ public void remove() {
1053
1060
}
1054
1061
1055
1062
/**
1056
- * Returns true if the given BDD variable number is a dont-care. {@code var} must be a variable in the
1057
- * iteration set.
1063
+ * Returns true if the given BDD variable number is a dont-care. {@code var} must be a variable in the iteration
1064
+ * set.
1058
1065
*
1059
1066
* @param var variable number to check
1060
1067
* @return if the given variable is a dont-care
@@ -1153,6 +1160,7 @@ public void skipDontCare(BDDDomain d) {
1153
1160
* </p>
1154
1161
*
1155
1162
* @param pair pairing of variables to the BDDs that replace those variables
1163
+ * @return result of replace
1156
1164
*/
1157
1165
public abstract BDD replaceWith (BDDPairing pair );
1158
1166
@@ -1285,6 +1293,7 @@ protected int printdot_rec(PrintStream out, int current, boolean[] visited, Hash
1285
1293
* Compare to bdd_satcountset.
1286
1294
* </p>
1287
1295
*
1296
+ * @param varset the given varset
1288
1297
* @return the number of satisfying variable assignments
1289
1298
*/
1290
1299
public double satCount (BDDVarSet varset ) {
@@ -1321,6 +1330,7 @@ public double logSatCount() {
1321
1330
* Compare to bdd_satcountset.
1322
1331
* </p>
1323
1332
*
1333
+ * @param varset the given varset
1324
1334
* @return the logarithm of the number of satisfying variable assignments
1325
1335
*/
1326
1336
public double logSatCount (BDDVarSet varset ) {
@@ -1334,6 +1344,8 @@ public double logSatCount(BDDVarSet varset) {
1334
1344
* <p>
1335
1345
* Compare to bdd_varprofile.
1336
1346
* </p>
1347
+ *
1348
+ * @return the variable profile
1337
1349
*/
1338
1350
public abstract int [] varProfile ();
1339
1351
@@ -1434,8 +1446,8 @@ public String toStringWithDomains() {
1434
1446
/**
1435
1447
* Returns a string representation of this BDD on the defined domains, using the given BDDToString converter.
1436
1448
*
1449
+ * @param ts the given BDDToString converter
1437
1450
* @return string representation of this BDD using the given BDDToString converter
1438
- *
1439
1451
* @see com.github.javabdd.BDD.BDDToString
1440
1452
*/
1441
1453
public String toStringWithDomains (BDDToString ts ) {
0 commit comments