@@ -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 );
@@ -456,7 +462,7 @@ public BDD relprod(BDD that, BDDVarSet var) {
456
462
public abstract BDDVarSet support ();
457
463
458
464
/**
459
- * Returns the result of applying the binary operator <tt> opr</tt> to the two BDDs.
465
+ * Returns the result of applying the binary operator {@code opr} to the two BDDs.
460
466
*
461
467
* <p>
462
468
* Compare to bdd_apply.
@@ -469,7 +475,7 @@ public BDD relprod(BDD that, BDDVarSet var) {
469
475
public abstract BDD apply (BDD that , BDDFactory .BDDOp opr );
470
476
471
477
/**
472
- * Makes this BDD be the result of the binary operator <tt> opr</tt> of two BDDs. The "that" BDD is consumed, and can
478
+ * Makes this BDD be the result of the binary operator {@code opr} of two BDDs. The "that" BDD is consumed, and can
473
479
* no longer be used. Attempting to use the passed in BDD again will result in an exception being thrown.
474
480
*
475
481
* <p>
@@ -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 <tt> opr</tt> to two BDDs and then performs a universal quantification of the
486
- * variables from the variable set <tt> var</tt> .
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.
@@ -498,8 +505,8 @@ public BDD relprod(BDD that, BDDVarSet var) {
498
505
public abstract BDD applyAll (BDD that , BDDFactory .BDDOp opr , BDDVarSet var );
499
506
500
507
/**
501
- * Applies the binary operator <tt> opr</tt> to two BDDs and then performs an existential quantification of the
502
- * variables from the variable set <tt> var</tt> .
508
+ * Applies the binary operator {@code opr} to two BDDs and then performs an existential quantification of the
509
+ * variables from the variable set {@code var} .
503
510
*
504
511
* <p>
505
512
* Compare to bdd_appex.
@@ -514,8 +521,8 @@ public BDD relprod(BDD that, BDDVarSet var) {
514
521
public abstract BDD applyEx (BDD that , BDDFactory .BDDOp opr , BDDVarSet var );
515
522
516
523
/**
517
- * Applies the binary operator <tt> opr</tt> to two BDDs and then performs a unique quantification of the variables
518
- * from the variable set <tt> var</tt> .
524
+ * Applies the binary operator {@code opr} to two BDDs and then performs a unique quantification of the variables
525
+ * from the variable set {@code var} .
519
526
*
520
527
* <p>
521
528
* Compare to bdd_appuni.
@@ -554,9 +561,9 @@ public BDD relprod(BDD that, BDDVarSet var) {
554
561
public abstract BDD fullSatOne ();
555
562
556
563
/**
557
- * Finds one satisfying variable assignment. Finds a minterm in this BDD. The <tt> var</tt> argument is a set of
564
+ * Finds one satisfying variable assignment. Finds a minterm in this BDD. The {@code var} argument is a set of
558
565
* variables that must be mentioned in the result. The polarity of these variables in the result - in case they are
559
- * undefined in this BDD - are defined by the <tt> pol</tt> parameter. If <tt> pol</tt> is false, then all variables
566
+ * undefined in this BDD - are defined by the {@code pol} parameter. If {@code pol} is false, then all variables
560
567
* will be in negative form. Otherwise they will be in positive form.
561
568
*
562
569
* <p>
@@ -723,7 +730,7 @@ public void remove() {
723
730
}
724
731
725
732
/**
726
- * Finds one satisfying assignment of the domain <tt>d</tt> in this BDD and returns that value.
733
+ * Finds one satisfying assignment of the domain {@code d} in this BDD and returns that value.
727
734
*
728
735
* <p>
729
736
* Compare to fdd_scanvar.
@@ -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
- * <tt>var</tt> 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. <tt> var</tt> 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
@@ -1116,7 +1123,7 @@ public void fastForward(int[] vars) {
1116
1123
}
1117
1124
1118
1125
/**
1119
- * Assuming <tt>d</tt> is a dont-care, skip to the end of the iteration for <tt>d</tt> .
1126
+ * Assuming {@code d} is a dont-care, skip to the end of the iteration for {@code d} .
1120
1127
*
1121
1128
* @param d BDD domain to fast-forward past
1122
1129
*/
@@ -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