File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
src/main/java/com/github/javabdd Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -223,15 +223,15 @@ public BDDVarSet emptySet() {
223
223
public BDD buildCube (int value , List /*<BDD>*/ variables ) {
224
224
BDD result = universe ();
225
225
Iterator i = variables .iterator ();
226
- int z = 0 ;
226
+ // int z = 0;
227
227
while (i .hasNext ()) {
228
228
BDD var = (BDD ) i .next ();
229
229
if ((value & 0x1 ) != 0 )
230
230
var = var .id ();
231
231
else
232
232
var = var .not ();
233
233
result .andWith (var );
234
- ++z ;
234
+ // ++z;
235
235
value >>= 1 ;
236
236
}
237
237
return result ;
Original file line number Diff line number Diff line change @@ -375,7 +375,7 @@ public void setVarOrder(String ordering) {
375
375
StringTokenizer st = new StringTokenizer (ordering , "x_" , true );
376
376
boolean [] done = new boolean [nDomains ];
377
377
List last = null ;
378
- for (int i =0 ; ; ++i ) {
378
+ for (/* int i=0*/ ; ; /* ++i*/ ) {
379
379
String s = st .nextToken ();
380
380
BDDDomain d ;
381
381
for (int j =0 ; ; ++j ) {
@@ -4906,7 +4906,7 @@ void blockdown(BddTree left) {
4906
4906
BddTree reorder_win2ite (BddTree t ) {
4907
4907
BddTree dis , first = t ;
4908
4908
int lastsize ;
4909
- int c = 1 ;
4909
+ // int c = 1;
4910
4910
4911
4911
if (t == null )
4912
4912
return t ;
@@ -4937,7 +4937,7 @@ BddTree reorder_win2ite(BddTree t) {
4937
4937
4938
4938
if (verbose > 1 )
4939
4939
System .out .println (" " + reorder_nodenum () + " nodes" );
4940
- c ++;
4940
+ // c++;
4941
4941
}
4942
4942
while (reorder_nodenum () != lastsize );
4943
4943
Original file line number Diff line number Diff line change @@ -4495,7 +4495,6 @@ void blockdown(BddTree left) {
4495
4495
BddTree reorder_win2ite (BddTree t ) {
4496
4496
BddTree dis , first = t ;
4497
4497
int lastsize ;
4498
- int c = 1 ;
4499
4498
4500
4499
if (t == null )
4501
4500
return t ;
@@ -4526,7 +4525,6 @@ BddTree reorder_win2ite(BddTree t) {
4526
4525
4527
4526
if (verbose > 1 )
4528
4527
System .out .println (" " + reorder_nodenum () + " nodes" );
4529
- c ++;
4530
4528
}
4531
4529
while (reorder_nodenum () != lastsize );
4532
4530
Original file line number Diff line number Diff line change @@ -949,7 +949,7 @@ public int varNum() {
949
949
*/
950
950
public int setVarNum (int num ) {
951
951
int r1 = f1 .setVarNum (num );
952
- int r2 = f2 .setVarNum (num );
952
+ // int r2 = f2.setVarNum(num);
953
953
// assertSame(r1 == r2, "setVarNum");
954
954
return r1 ;
955
955
}
You can’t perform that action at this time.
0 commit comments