@@ -1063,20 +1063,6 @@ BddCacheData copy() {
10631063 }
10641064 }
10651065
1066- private static class BddCacheDataD extends BddCacheData {
1067- double dres ;
1068-
1069- @ Override
1070- BddCacheData copy () {
1071- BddCacheDataD that = new BddCacheDataD ();
1072- that .a = this .a ;
1073- that .b = this .b ;
1074- that .c = this .c ;
1075- that .dres = this .dres ;
1076- return that ;
1077- }
1078- }
1079-
10801066 private static class BddCacheDataBI extends BddCacheData {
10811067 BigInteger bires ;
10821068
@@ -1098,11 +1084,8 @@ private static class BddCache {
10981084
10991085 BddCache copy () {
11001086 BddCache that = new BddCache ();
1101- boolean is_d = this .table instanceof BddCacheDataD [];
11021087 boolean is_bi = this .table instanceof BddCacheDataBI [];
1103- if (is_d ) {
1104- that .table = new BddCacheDataD [this .table .length ];
1105- } else if (is_bi ) {
1088+ if (is_bi ) {
11061089 that .table = new BddCacheDataBI [this .table .length ];
11071090 } else {
11081091 that .table = new BddCacheDataI [this .table .length ];
@@ -7050,23 +7033,6 @@ BddCache BddCacheI_init(int size) {
70507033 return cache ;
70517034 }
70527035
7053- BddCache BddCacheD_init (int size ) {
7054- int n ;
7055-
7056- size = bdd_prime_gte (size );
7057-
7058- BddCache cache = new BddCache ();
7059- cache .table = new BddCacheDataD [size ];
7060-
7061- for (n = 0 ; n < size ; n ++) {
7062- cache .table [n ] = new BddCacheDataD ();
7063- cache .table [n ].a = -1 ;
7064- }
7065- cache .tablesize = size ;
7066-
7067- return cache ;
7068- }
7069-
70707036 BddCache BddCacheBI_init (int size ) {
70717037 int n ;
70727038
@@ -7100,25 +7066,20 @@ int BddCache_resize(BddCache cache, int newsize) {
71007066 int n ;
71017067
71027068 boolean is_bi = cache .table instanceof BddCacheDataBI [];
7103- boolean is_d = cache .table instanceof BddCacheDataD [];
71047069
71057070 cache .table = null ;
71067071
71077072 newsize = bdd_prime_gte (newsize );
71087073
71097074 if (is_bi ) {
71107075 cache .table = new BddCacheDataBI [newsize ];
7111- } else if (is_d ) {
7112- cache .table = new BddCacheDataD [newsize ];
71137076 } else {
71147077 cache .table = new BddCacheDataI [newsize ];
71157078 }
71167079
71177080 for (n = 0 ; n < newsize ; n ++) {
71187081 if (is_bi ) {
71197082 cache .table [n ] = new BddCacheDataBI ();
7120- } else if (is_d ) {
7121- cache .table [n ] = new BddCacheDataD ();
71227083 } else {
71237084 cache .table [n ] = new BddCacheDataI ();
71247085 }
@@ -7133,10 +7094,6 @@ BddCacheDataI BddCache_lookupI(BddCache cache, int hash) {
71337094 return (BddCacheDataI )cache .table [Math .abs (hash % cache .tablesize )];
71347095 }
71357096
7136- BddCacheDataD BddCache_lookupD (BddCache cache , int hash ) {
7137- return (BddCacheDataD )cache .table [Math .abs (hash % cache .tablesize )];
7138- }
7139-
71407097 BddCacheDataBI BddCache_lookupBI (BddCache cache , int hash ) {
71417098 return (BddCacheDataBI )cache .table [Math .abs (hash % cache .tablesize )];
71427099 }
0 commit comments