package org.matsim.prepare.network;
import it.unimi.dsi.fastutil.objects.Object2DoubleMap;
    
/**
* Generated model, do not modify.
*/
public final class Speedrelative_right_before_left implements FeatureRegressor {
    
    public static Speedrelative_right_before_left INSTANCE = new Speedrelative_right_before_left();
    public static final double[] DEFAULT_PARAMS = {0.8963104890604893, 0.907779780107761, 0.9657777777777777, 0.9390178571428571, 0.8976287001287001, 0.8780142118863049, 0.8887809250136831, 0.825, 0.9178789873780846, 0.9118619338974725, 0.8633333333333333, 0.8988143023581764, 0.8620000000000001, 0.9060461051236138, 0.9125183877611075, 0.9289101037851039, 0.86, 0.8830906593406594, 0.90612800068587, 0.9417142857142856, 0.9073636363636365, 0.8774057457693821, 0.8917696504884008, 0.9224348574237957, 0.8724999999999999, 0.8942378151260503, 0.9119517494603098, 0.8995305004135644, 0.81, 0.906801705037773, 0.9127536984823196, 0.8988636363636364, 0.9315416065416066, 0.9349062049062049, 0.8969890335444526, 0.9348571428571428, 0.8980857142857145, 0.8856666666666667, 0.8736043689320387, 0.9128539042140267, 0.8522222222222222, 0.8728571428571428, 0.8957270063048499, 0.81, 0.9057298460517382, 0.9119159948649355, 0.923600529100529, 0.8955372363557295, 0.8474999999999999, 0.9111714922048996, 0.9140597667638484, 0.8940000000000001, 0.8817649456521732, 0.8923656604072576, 0.9115526965460413, 0.9063091992909768, 0.9278564102564104, 0.9116596143892381, 0.8369444444444444, 0.9533333333333334, 0.9179887755102042, 0.8961407076719574, 0.9065209235209234, 0.9053174603174603, 0.8755526210484196, 0.9266666666666664, 0.8903952437777016, 0.9126892319168844, 0.9060949275362316, 0.94375, 0.9279761904761904, 0.8872294372294374, 0.905262565112545, 0.9335344827586207, 0.9117431057774061, 0.9133333333333334, 0.9624999999999999, 0.9205203634085211, 0.9046606919921524, 0.885290738837501, 0.9462499999999999, 0.9050396825396825, 0.8938604921077065, 0.9306392632524707, 0.9115489742058761, 0.9015513059544803, 0.9097905589449835, 0.8355555555555555, 0.9115875715365513, 0.9463898412698414, 0.8869117216117216, 0.920287356321839, 0.8915902876001878, 0.912917748917749, 0.8812435897435896, 0.8908123114259477, 0.9134191437851321, 0.8608, 0.925595238095238, 0.9428900112233443, 0.8983750112097563, 0.9066231157184487, 0.9185284455128196, 0.9111929377013993, 0.9156882190184944, 0.9618518518518518, 0.8480000000000001, 0.9034016996972196, 0.9089377289377286, 0.9450000000000001, 0.8411111111111111, 0.8852724694005188, 0.9275840455840455, 0.9115927977152296, 0.95, 0.9016370911621433, 0.8932330896397288, 0.9073952380057445, 0.858, 0.9240311059907833, 0.9065454324586977, 0.9539506172839507, 0.8913375992063499, 0.8720893719806763, 0.8978113316960016, 0.8754740740740743, 0.9241414141414144, 0.97, 0.9134333965063667, 0.9332121212121212, 0.896646095484826, 0.9048114248624498, 0.9179519979573592, 0.9096654880059047, 0.9114651707205671, 0.9353006535947712, 0.9017669906570216, 0.8225, 0.888325396825397, 0.9155204872646732, 0.8477083333333333, 0.88645889623455, 0.9138631499519039, 0.9069037807430658, 0.8760732323232324, 0.9133333333333334, 0.8987480607120432, 0.83, 0.9065239779355977, 0.9118807043650808, 0.9261224489795917, 0.8964603174603176, 0.9724999999999999, 0.8635093167701863, 0.8968705868205864, 0.8710444444444442, 0.8864712389380531, 0.913670796731158, 0.83, 0.8801234567901235, 0.9064023487773486, 0.8966307979602087, 0.8468181818181819, 0.9067232056921173, 0.9121806805399314, 0.9164756097560975, 0.8997246216315977, 0.9264285714285715, 0.9604444444444444, 0.9023615160349855, 0.8667811224489795, 0.9209126984126983, 0.8912381796690306, 0.9131125601456902, 0.8758333333333331, 0.8491666666666666, 0.95, 0.9003444986294373, 0.9089710496249118, 0.84, 0.9137755102040817, 0.8479166666666668, 0.9460000000000001, 0.9131474108769188, 0.9006687988628284, 0.85125, 0.9233333333333332, 0.8871921846187221, 0.9128130849019936, 0.82, 0.8994898294098979, 0.9065283439133278, 0.9270833333333333, 0.9470370370370369, 0.9176040208590636, 0.9102188855452498, 0.9077810348537008, 0.8616666666666667, 0.952888888888889, 0.9195555555555556, 0.955, 0.8721872082166194, 0.9058176190476189, 0.8892145779752149, 0.9197197674418602, 0.97, 0.9114728738100862, 0.9575, 0.9233571428571428, 0.8994351212279782, 0.9121506653469709, 0.9063740332759166, 0.9168739177489179, 0.9409811875367432, 0.8930322510822511, 0.9079232991857105, 0.8975975422427037, 0.9173449735449737, 0.8767065527065526, 0.8904209252806806, 0.9025109270761444, 0.9151556198525614, 0.8965180991095627, 0.9102292539165499, 0.9000625828324853, 0.9071489459661338, 0.9146306074877499, 0.9078297424948234, 0.9538461538461538, 0.9235871546149326, 0.9095966386554623, 0.88685, 0.9036226333907056, 0.8761461412151064, 0.8875914918414916, 0.82, 0.9043749999999999, 0.913229965839154, 0.8966499118165784, 0.8963636527800346, 0.81, 0.9144076211853991, 0.9069250171640673, 0.859375, 0.9123046707054904, 0.8663888888888889, 0.8832426406926406, 0.8535416666666668, 0.9062405372405371, 0.8921325471698108, 0.9130257648749901, 0.9066011383678083, 0.98, 0.9127431685188195, 0.8403030303030303, 0.8686054421768706, 0.9020917508417506, 0.9575, 0.8817531975600162, 0.9521904761904764, 0.9, 0.975, 0.8998432744231712, 0.9128722973772332, 0.91125, 0.9404676767676766, 0.8961609560652104, 0.94, 0.9055938359214272, 0.9118614953127417, 0.9026623376623375, 0.9124921522673196, 0.9376174603174602, 0.91625, 0.8791836734693877, 0.91704609929078, 0.8764207650273224, 0.8900302810077519, 0.8514285714285714, 0.9320639880952379, 0.9120123720933075, 0.9458333333333332, 0.932607843137255, 0.9008569007850045, 0.9144233992140552, 0.9076185406350459, 0.9087216457204349, 0.8698809523809523, 0.9504575163398695, 0.9168253968253968, 0.9575, 0.9113914910226386, 0.8742735042735044, 0.8892988178878105, 0.9186808201058205, 0.9413000000000002, 0.9127886733946768, 0.90525048590865, 0.9117047340165935, 0.9040737698312573, 0.9342436974789914, 0.9124143956634909, 0.9629166666666668, 0.9166075268817203, 0.900836701734957, 0.8590476190476192, 0.9549999999999998, 0.9583333333333334, 0.8835339947089947, 0.9173510689990282, 0.9105930717949452, 0.9267499999999999, 0.9537037037037037, 0.8965379354544167, 0.81, 0.9057372513233752, 0.9117025676937486, 0.9289152661064425, 0.9072296813462226, 0.9461693121693122, 0.88, 0.9021743915343915, 0.8525, 0.8773258145363407, 0.8899619229371141, 0.9145110071291122, 0.9034828192640693, 0.8982925824175823, 0.914337398373984, 0.8986023000827502, 0.9065549852824765, 0.9303571428571429, 0.9129700650682545, 0.9085714285714286, 0.8844444444444446, 0.9530769230769232, 0.9159847655537314, 0.8586607142857143, 0.9047658359293874, 0.8796229508196718, 0.8946043247344458, 0.9733333333333333, 0.9256361231361232, 0.9124370733198691, 0.9077759551495022, 0.9011375404530748, 0.906432943165566, 0.9138637566137569, 0.90588351594325, 0.9039004054520362, 0.859, 0.9348684371184373, 0.8893333333333334, 0.9223529411764707, 0.8875427948957362, 0.8343750000000001, 0.8802500000000002, 0.9146802030000676, 0.9044582378405911, 0.9494366744366745, 0.9238461538461539, 0.8990830986322339, 0.8680769230769231, 0.9067528832624594, 0.9124966462445298, 0.9488461538461539, 0.916897838568051, 0.9037300505050504, 0.855, 0.8762508116883115, 0.8175, 0.9170204081632654, 0.888842857142857, 0.9131314199147661, 0.8588888888888889, 0.8639087301587302, 0.9011538461538464, 0.9139651062970262, 0.8813333333333334, 0.9029880629154616, 0.910469066515498, 0.9142822352685367, 0.9044583640473731, 0.8587499999999999, 0.8925146825396825, 0.8746021062271059, 0.9314285714285713, 0.8920663446873409, 0.9266163623344076, 0.9121442636126181, 0.9118387142537488, 0.8522222222222222, 0.8998732867435937, 0.8653333333333333, 0.9061258978611965, 0.9115514565598496, 0.94125, 0.9156936605918088, 0.8885156249999999, 0.9072331390370802, 0.9575, 0.9061148459383753, 0.8818014264264258, 0.8927877544614837, 0.9007142857142857, 0.9328092970521545, 0.9123191792416646, 0.8586666666666666, 0.9000817379685306, 0.9060046016957547, 0.9276495726495727, 0.9118913255910112, 0.9158933410762681, 0.9033565335583049, 0.9161445845666372, 0.82, 0.9031756756756758, 0.8734375, 0.9633333333333334, 0.9082225294985248, 0.9574999999999999, 0.908732409381663, 0.8717295597484276, 0.8932220652501507, 0.909896473265074, 0.9047709940822045, 0.9375892857142859, 0.9102582220465107, 0.923735229276896, 0.98, 0.882116883116883, 0.9073649772408962, 0.8809014136904761, 0.8924398057548741, 0.8752380952380951, 0.845, 0.9165307017543857, 0.9412380952380952, 0.911517294727134, 0.932104700854701, 0.900056958056958, 0.81, 0.9120916666666661, 0.9067132328896942, 0.9570000000000001, 0.9011841527939084, 0.9121304824561406, 0.9374074074074075, 0.908556628056628, 0.8730658914728682, 0.8848747334754794, 0.9181322620032301, 0.9114789302991948, 0.879422619047619, 0.9041666666666666, 0.8944099216710178, 0.9008846493013155, 0.9147012195121947, 0.9070592602316181};

    @Override
    public double predict(Object2DoubleMap<String> ft) {
        return predict(ft, DEFAULT_PARAMS);
    }
    
    @Override
    public double[] getData(Object2DoubleMap<String> ft) {
        double[] data = new double[14];
		data[0] = (ft.getDouble("length") - 133.10125331063188) / 78.97094374399138;
		data[1] = (ft.getDouble("speed") - 8.333418463866819) / 0.13514417432622952;
		data[2] = (ft.getDouble("numFoes") - 2.239973514945138) / 0.6527240855058805;
		data[3] = (ft.getDouble("numLanes") - 1.007094211123723) / 0.09043758661115839;
		data[4] = (ft.getDouble("junctionSize") - 10.936152099886492) / 3.8735682630465176;
		data[5] = ft.getDouble("dir_l");
		data[6] = ft.getDouble("dir_r");
		data[7] = ft.getDouble("dir_s");
		data[8] = ft.getDouble("dir_multiple_s");
		data[9] = ft.getDouble("dir_exclusive");
		data[10] = ft.getDouble("priority_lower");
		data[11] = ft.getDouble("priority_equal");
		data[12] = ft.getDouble("priority_higher");
		data[13] = ft.getDouble("changeNumLanes");

        return data;
    }
    
    @Override
    public double predict(Object2DoubleMap<String> ft, double[] params) {

        double[] data = getData(ft);
        for (int i = 0; i < data.length; i++)
            if (Double.isNaN(data[i])) throw new IllegalArgumentException("Invalid data at index: " + i);
    
        return score(data, params);
    }
    public static double score(double[] input, double[] params) {
        double var0;
        if (input[0] <= -1.1051058769226074) {
            if (input[6] <= 0.5) {
                if (input[3] <= 16.507580757141113) {
                    if (input[0] <= -1.3007474541664124) {
                        var0 = params[0];
                    } else {
                        var0 = params[1];
                    }
                } else {
                    var0 = params[2];
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -1.4498529434204102) {
                        var0 = params[3];
                    } else {
                        var0 = params[4];
                    }
                } else {
                    if (input[0] <= -1.2934029698371887) {
                        var0 = params[5];
                    } else {
                        var0 = params[6];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.45138441026210785) {
                    if (input[7] <= 0.5) {
                        var0 = params[7];
                    } else {
                        var0 = params[8];
                    }
                } else {
                    if (input[1] <= 20.545328298583627) {
                        var0 = params[9];
                    } else {
                        var0 = params[10];
                    }
                }
            } else {
                if (input[0] <= -0.6253091394901276) {
                    if (input[0] <= -0.6280316710472107) {
                        var0 = params[11];
                    } else {
                        var0 = params[12];
                    }
                } else {
                    if (input[0] <= 0.8570715188980103) {
                        var0 = params[13];
                    } else {
                        var0 = params[14];
                    }
                }
            }
        }
        double var1;
        if (input[0] <= -1.1047260165214539) {
            if (input[6] <= 0.5) {
                if (input[4] <= -1.919716238975525) {
                    if (input[0] <= -1.1063088178634644) {
                        var1 = params[15];
                    } else {
                        var1 = params[16];
                    }
                } else {
                    if (input[4] <= -1.403396487236023) {
                        var1 = params[17];
                    } else {
                        var1 = params[18];
                    }
                }
            } else {
                if (input[4] <= -1.5324764251708984) {
                    if (input[7] <= 0.5) {
                        var1 = params[19];
                    } else {
                        var1 = params[20];
                    }
                } else {
                    if (input[0] <= -1.314866542816162) {
                        var1 = params[21];
                    } else {
                        var1 = params[22];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.9077547788619995) {
                    if (input[4] <= -0.3707568794488907) {
                        var1 = params[23];
                    } else {
                        var1 = params[24];
                    }
                } else {
                    if (input[0] <= -0.8595725297927856) {
                        var1 = params[25];
                    } else {
                        var1 = params[26];
                    }
                }
            } else {
                if (input[0] <= -0.6498751640319824) {
                    if (input[12] <= 0.5) {
                        var1 = params[27];
                    } else {
                        var1 = params[28];
                    }
                } else {
                    if (input[0] <= 0.7061932384967804) {
                        var1 = params[29];
                    } else {
                        var1 = params[30];
                    }
                }
            }
        }
        double var2;
        if (input[0] <= -1.2157161831855774) {
            if (input[6] <= 0.5) {
                if (input[4] <= -1.919716238975525) {
                    if (input[4] <= -2.177876114845276) {
                        var2 = params[31];
                    } else {
                        var2 = params[32];
                    }
                } else {
                    if (input[0] <= -1.567047894001007) {
                        var2 = params[33];
                    } else {
                        var2 = params[34];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[7] <= 0.5) {
                        var2 = params[35];
                    } else {
                        var2 = params[36];
                    }
                } else {
                    if (input[5] <= 0.5) {
                        var2 = params[37];
                    } else {
                        var2 = params[38];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= 4.217991352081299) {
                    if (input[1] <= 20.545328298583627) {
                        var2 = params[39];
                    } else {
                        var2 = params[40];
                    }
                } else {
                    var2 = params[41];
                }
            } else {
                if (input[0] <= -0.6553834974765778) {
                    if (input[12] <= 0.5) {
                        var2 = params[42];
                    } else {
                        var2 = params[43];
                    }
                } else {
                    if (input[0] <= 0.6136908531188965) {
                        var2 = params[44];
                    } else {
                        var2 = params[45];
                    }
                }
            }
        }
        double var3;
        if (input[0] <= -0.8563434779644012) {
            if (input[6] <= 0.5) {
                if (input[0] <= -1.2232505679130554) {
                    if (input[4] <= -1.919716238975525) {
                        var3 = params[46];
                    } else {
                        var3 = params[47];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var3 = params[48];
                    } else {
                        var3 = params[49];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -0.9815794229507446) {
                        var3 = params[50];
                    } else {
                        var3 = params[51];
                    }
                } else {
                    if (input[0] <= -1.2356602549552917) {
                        var3 = params[52];
                    } else {
                        var3 = params[53];
                    }
                }
            }
        } else {
            if (input[1] <= 30.830639839172363) {
                if (input[0] <= 0.8461181223392487) {
                    if (input[6] <= 0.5) {
                        var3 = params[54];
                    } else {
                        var3 = params[55];
                    }
                } else {
                    if (input[0] <= 0.9087360799312592) {
                        var3 = params[56];
                    } else {
                        var3 = params[57];
                    }
                }
            } else {
                var3 = params[58];
            }
        }
        double var4;
        if (input[0] <= -1.0086146593093872) {
            if (input[6] <= 0.5) {
                if (input[4] <= -1.661556363105774) {
                    if (input[13] <= -0.5) {
                        var4 = params[59];
                    } else {
                        var4 = params[60];
                    }
                } else {
                    if (input[0] <= -1.274345338344574) {
                        var4 = params[61];
                    } else {
                        var4 = params[62];
                    }
                }
            } else {
                if (input[0] <= -1.314866542816162) {
                    if (input[4] <= -1.5324764251708984) {
                        var4 = params[63];
                    } else {
                        var4 = params[64];
                    }
                } else {
                    if (input[4] <= -1.403396487236023) {
                        var4 = params[65];
                    } else {
                        var4 = params[66];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= 1.2864699959754944) {
                        var4 = params[67];
                    } else {
                        var4 = params[68];
                    }
                } else {
                    if (input[13] <= -0.5) {
                        var4 = params[69];
                    } else {
                        var4 = params[70];
                    }
                }
            } else {
                if (input[0] <= 0.7018245458602905) {
                    if (input[0] <= -0.9565069079399109) {
                        var4 = params[71];
                    } else {
                        var4 = params[72];
                    }
                } else {
                    if (input[4] <= -1.5324764251708984) {
                        var4 = params[73];
                    } else {
                        var4 = params[74];
                    }
                }
            }
        }
        double var5;
        if (input[0] <= -0.8548872768878937) {
            if (input[6] <= 0.5) {
                if (input[13] <= -0.5) {
                    if (input[4] <= -2.177876114845276) {
                        var5 = params[75];
                    } else {
                        var5 = params[76];
                    }
                } else {
                    if (input[4] <= -1.919716238975525) {
                        var5 = params[77];
                    } else {
                        var5 = params[78];
                    }
                }
            } else {
                if (input[0] <= -1.111817181110382) {
                    if (input[3] <= 5.450231730937958) {
                        var5 = params[79];
                    } else {
                        var5 = params[80];
                    }
                } else {
                    if (input[0] <= -1.0847819447517395) {
                        var5 = params[81];
                    } else {
                        var5 = params[82];
                    }
                }
            }
        } else {
            if (input[1] <= 20.545328298583627) {
                if (input[6] <= 0.5) {
                    if (input[0] <= -0.7834686040878296) {
                        var5 = params[83];
                    } else {
                        var5 = params[84];
                    }
                } else {
                    if (input[0] <= -0.48563751578330994) {
                        var5 = params[85];
                    } else {
                        var5 = params[86];
                    }
                }
            } else {
                var5 = params[87];
            }
        }
        double var6;
        if (input[0] <= -1.005195677280426) {
            if (input[4] <= -0.628916785120964) {
                if (input[5] <= 0.5) {
                    if (input[3] <= 5.450231730937958) {
                        var6 = params[88];
                    } else {
                        var6 = params[89];
                    }
                } else {
                    if (input[0] <= -1.1810198426246643) {
                        var6 = params[90];
                    } else {
                        var6 = params[91];
                    }
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.1175788640975952) {
                        var6 = params[92];
                    } else {
                        var6 = params[93];
                    }
                } else {
                    if (input[0] <= -1.2956823110580444) {
                        var6 = params[94];
                    } else {
                        var6 = params[95];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= 4.217991352081299) {
                        var6 = params[96];
                    } else {
                        var6 = params[97];
                    }
                } else {
                    if (input[0] <= -0.6404412686824799) {
                        var6 = params[98];
                    } else {
                        var6 = params[99];
                    }
                }
            } else {
                if (input[0] <= 0.4344477206468582) {
                    if (input[0] <= -0.6612084209918976) {
                        var6 = params[100];
                    } else {
                        var6 = params[101];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var6 = params[102];
                    } else {
                        var6 = params[103];
                    }
                }
            }
        }
        double var7;
        if (input[0] <= -1.0085513591766357) {
            if (input[6] <= 0.5) {
                if (input[5] <= 0.5) {
                    if (input[3] <= 16.507580757141113) {
                        var7 = params[104];
                    } else {
                        var7 = params[105];
                    }
                } else {
                    if (input[2] <= -2.6657105684280396) {
                        var7 = params[106];
                    } else {
                        var7 = params[107];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -1.0409683585166931) {
                        var7 = params[108];
                    } else {
                        var7 = params[109];
                    }
                } else {
                    if (input[4] <= -1.016156643629074) {
                        var7 = params[110];
                    } else {
                        var7 = params[111];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= 3.8902758359909058) {
                    if (input[0] <= -0.9906966984272003) {
                        var7 = params[112];
                    } else {
                        var7 = params[113];
                    }
                } else {
                    var7 = params[114];
                }
            } else {
                if (input[0] <= -0.6476591229438782) {
                    if (input[0] <= -0.7535208463668823) {
                        var7 = params[115];
                    } else {
                        var7 = params[116];
                    }
                } else {
                    if (input[1] <= 30.830639839172363) {
                        var7 = params[117];
                    } else {
                        var7 = params[118];
                    }
                }
            }
        }
        double var8;
        if (input[0] <= -1.1095378994941711) {
            if (input[2] <= -1.133669689297676) {
                if (input[3] <= 16.507580757141113) {
                    if (input[4] <= -1.919716238975525) {
                        var8 = params[119];
                    } else {
                        var8 = params[120];
                    }
                } else {
                    var8 = params[121];
                }
            } else {
                if (input[0] <= -1.2979615926742554) {
                    if (input[6] <= 0.5) {
                        var8 = params[122];
                    } else {
                        var8 = params[123];
                    }
                } else {
                    if (input[0] <= -1.1265061497688293) {
                        var8 = params[124];
                    } else {
                        var8 = params[125];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -1.0758545994758606) {
                    if (input[0] <= -1.0857316851615906) {
                        var8 = params[126];
                    } else {
                        var8 = params[127];
                    }
                } else {
                    if (input[3] <= 5.450231730937958) {
                        var8 = params[128];
                    } else {
                        var8 = params[129];
                    }
                }
            } else {
                if (input[0] <= 0.45166924595832825) {
                    if (input[0] <= -0.8577364087104797) {
                        var8 = params[130];
                    } else {
                        var8 = params[131];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var8 = params[132];
                    } else {
                        var8 = params[133];
                    }
                }
            }
        }
        double var9;
        if (input[0] <= -1.008741319179535) {
            if (input[6] <= 0.5) {
                if (input[4] <= -0.628916785120964) {
                    if (input[3] <= 5.450231730937958) {
                        var9 = params[134];
                    } else {
                        var9 = params[135];
                    }
                } else {
                    if (input[0] <= -1.0114638209342957) {
                        var9 = params[136];
                    } else {
                        var9 = params[137];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -1.3244270086288452) {
                        var9 = params[138];
                    } else {
                        var9 = params[139];
                    }
                } else {
                    if (input[4] <= -1.016156643629074) {
                        var9 = params[140];
                    } else {
                        var9 = params[141];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[4] <= -0.3707568794488907) {
                    if (input[0] <= 0.6772585511207581) {
                        var9 = params[142];
                    } else {
                        var9 = params[143];
                    }
                } else {
                    if (input[0] <= 0.2858487665653229) {
                        var9 = params[144];
                    } else {
                        var9 = params[145];
                    }
                }
            } else {
                if (input[0] <= -0.6472792625427246) {
                    if (input[4] <= 2.4690020084381104) {
                        var9 = params[146];
                    } else {
                        var9 = params[147];
                    }
                } else {
                    if (input[0] <= 0.6519327759742737) {
                        var9 = params[148];
                    } else {
                        var9 = params[149];
                    }
                }
            }
        }
        double var10;
        if (input[0] <= -1.228442370891571) {
            if (input[4] <= -1.661556363105774) {
                if (input[8] <= 0.5) {
                    if (input[0] <= -1.3532984256744385) {
                        var10 = params[150];
                    } else {
                        var10 = params[151];
                    }
                } else {
                    var10 = params[152];
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.4902475476264954) {
                        var10 = params[153];
                    } else {
                        var10 = params[154];
                    }
                } else {
                    if (input[0] <= -1.3146132826805115) {
                        var10 = params[155];
                    } else {
                        var10 = params[156];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[13] <= 0.5) {
                    if (input[1] <= 20.545328298583627) {
                        var10 = params[157];
                    } else {
                        var10 = params[158];
                    }
                } else {
                    if (input[0] <= -0.763967752456665) {
                        var10 = params[159];
                    } else {
                        var10 = params[160];
                    }
                }
            } else {
                if (input[0] <= -0.6249925792217255) {
                    if (input[0] <= -0.6280316710472107) {
                        var10 = params[161];
                    } else {
                        var10 = params[162];
                    }
                } else {
                    if (input[0] <= 1.2350586652755737) {
                        var10 = params[163];
                    } else {
                        var10 = params[164];
                    }
                }
            }
        }
        double var11;
        if (input[0] <= -1.1651912927627563) {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[4] <= -1.919716238975525) {
                        var11 = params[165];
                    } else {
                        var11 = params[166];
                    }
                } else {
                    if (input[4] <= -1.5324764251708984) {
                        var11 = params[167];
                    } else {
                        var11 = params[168];
                    }
                }
            } else {
                if (input[0] <= -1.2691535353660583) {
                    if (input[0] <= -1.4550447463989258) {
                        var11 = params[169];
                    } else {
                        var11 = params[170];
                    }
                } else {
                    if (input[4] <= -0.628916785120964) {
                        var11 = params[171];
                    } else {
                        var11 = params[172];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[1] <= 20.545328298583627) {
                    if (input[13] <= 1.5) {
                        var11 = params[173];
                    } else {
                        var11 = params[174];
                    }
                } else {
                    var11 = params[175];
                }
            } else {
                if (input[0] <= -0.5590822398662567) {
                    if (input[0] <= -1.1631651520729065) {
                        var11 = params[176];
                    } else {
                        var11 = params[177];
                    }
                } else {
                    if (input[1] <= 30.830639839172363) {
                        var11 = params[178];
                    } else {
                        var11 = params[179];
                    }
                }
            }
        }
        double var12;
        if (input[0] <= -1.0568602681159973) {
            if (input[4] <= -0.628916785120964) {
                if (input[7] <= 0.5) {
                    if (input[4] <= -1.5324764251708984) {
                        var12 = params[180];
                    } else {
                        var12 = params[181];
                    }
                } else {
                    if (input[13] <= -0.5) {
                        var12 = params[182];
                    } else {
                        var12 = params[183];
                    }
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.0625585913658142) {
                        var12 = params[184];
                    } else {
                        var12 = params[185];
                    }
                } else {
                    if (input[0] <= -1.5740758180618286) {
                        var12 = params[186];
                    } else {
                        var12 = params[187];
                    }
                }
            }
        } else {
            if (input[0] <= 0.5139706432819366) {
                if (input[6] <= 0.5) {
                    if (input[1] <= 20.545328298583627) {
                        var12 = params[188];
                    } else {
                        var12 = params[189];
                    }
                } else {
                    if (input[0] <= -0.5450897812843323) {
                        var12 = params[190];
                    } else {
                        var12 = params[191];
                    }
                }
            } else {
                if (input[0] <= 0.5236577391624451) {
                    if (input[5] <= 0.5) {
                        var12 = params[192];
                    } else {
                        var12 = params[193];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var12 = params[194];
                    } else {
                        var12 = params[195];
                    }
                }
            }
        }
        double var13;
        if (input[0] <= -0.8563434779644012) {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[4] <= -0.3707568794488907) {
                        var13 = params[196];
                    } else {
                        var13 = params[197];
                    }
                } else {
                    if (input[0] <= -1.1465768218040466) {
                        var13 = params[198];
                    } else {
                        var13 = params[199];
                    }
                }
            } else {
                if (input[0] <= -1.29099702835083) {
                    if (input[2] <= -2.6657105684280396) {
                        var13 = params[200];
                    } else {
                        var13 = params[201];
                    }
                } else {
                    if (input[2] <= -1.133669689297676) {
                        var13 = params[202];
                    } else {
                        var13 = params[203];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.5379352271556854) {
                    if (input[0] <= -0.5415441691875458) {
                        var13 = params[204];
                    } else {
                        var13 = params[205];
                    }
                } else {
                    if (input[0] <= 4.024438858032227) {
                        var13 = params[206];
                    } else {
                        var13 = params[207];
                    }
                }
            } else {
                if (input[0] <= -0.4812055081129074) {
                    if (input[0] <= -0.8421610593795776) {
                        var13 = params[208];
                    } else {
                        var13 = params[209];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var13 = params[210];
                    } else {
                        var13 = params[211];
                    }
                }
            }
        }
        double var14;
        if (input[0] <= -0.8596358299255371) {
            if (input[6] <= 0.5) {
                if (input[5] <= 0.5) {
                    if (input[3] <= 5.450231730937958) {
                        var14 = params[212];
                    } else {
                        var14 = params[213];
                    }
                } else {
                    if (input[0] <= -1.3018237948417664) {
                        var14 = params[214];
                    } else {
                        var14 = params[215];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[4] <= -1.661556363105774) {
                        var14 = params[216];
                    } else {
                        var14 = params[217];
                    }
                } else {
                    if (input[0] <= -1.2979615926742554) {
                        var14 = params[218];
                    } else {
                        var14 = params[219];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= 0.5618363618850708) {
                    if (input[9] <= 0.5) {
                        var14 = params[220];
                    } else {
                        var14 = params[221];
                    }
                } else {
                    if (input[0] <= 0.8989856541156769) {
                        var14 = params[222];
                    } else {
                        var14 = params[223];
                    }
                }
            } else {
                if (input[0] <= 0.6518694758415222) {
                    if (input[0] <= -0.6355660855770111) {
                        var14 = params[224];
                    } else {
                        var14 = params[225];
                    }
                } else {
                    if (input[0] <= 1.8887167572975159) {
                        var14 = params[226];
                    } else {
                        var14 = params[227];
                    }
                }
            }
        }
        double var15;
        if (input[0] <= -1.1047260165214539) {
            if (input[4] <= -1.661556363105774) {
                if (input[13] <= -0.5) {
                    var15 = params[228];
                } else {
                    if (input[4] <= -1.919716238975525) {
                        var15 = params[229];
                    } else {
                        var15 = params[230];
                    }
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.295935571193695) {
                        var15 = params[231];
                    } else {
                        var15 = params[232];
                    }
                } else {
                    if (input[0] <= -1.2906171679496765) {
                        var15 = params[233];
                    } else {
                        var15 = params[234];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[7] <= 0.5) {
                    if (input[0] <= -0.5164716523140669) {
                        var15 = params[235];
                    } else {
                        var15 = params[236];
                    }
                } else {
                    if (input[4] <= 0.016482964158058167) {
                        var15 = params[237];
                    } else {
                        var15 = params[238];
                    }
                }
            } else {
                if (input[0] <= -0.6553834974765778) {
                    if (input[12] <= 0.5) {
                        var15 = params[239];
                    } else {
                        var15 = params[240];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var15 = params[241];
                    } else {
                        var15 = params[242];
                    }
                }
            }
        }
        double var16;
        if (input[0] <= -0.8562168478965759) {
            if (input[6] <= 0.5) {
                if (input[4] <= -0.3707568794488907) {
                    if (input[7] <= 0.5) {
                        var16 = params[243];
                    } else {
                        var16 = params[244];
                    }
                } else {
                    var16 = params[245];
                }
            } else {
                if (input[0] <= -1.2295820116996765) {
                    if (input[0] <= -1.2462337613105774) {
                        var16 = params[246];
                    } else {
                        var16 = params[247];
                    }
                } else {
                    if (input[2] <= -1.133669689297676) {
                        var16 = params[248];
                    } else {
                        var16 = params[249];
                    }
                }
            }
        } else {
            if (input[1] <= 20.545328298583627) {
                if (input[0] <= 0.7021411061286926) {
                    if (input[6] <= 0.5) {
                        var16 = params[250];
                    } else {
                        var16 = params[251];
                    }
                } else {
                    if (input[0] <= 0.7029008865356445) {
                        var16 = params[252];
                    } else {
                        var16 = params[253];
                    }
                }
            } else {
                var16 = params[254];
            }
        }
        double var17;
        if (input[0] <= -1.2201481461524963) {
            if (input[8] <= 0.5) {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.5065193176269531) {
                        var17 = params[255];
                    } else {
                        var17 = params[256];
                    }
                } else {
                    if (input[4] <= -1.919716238975525) {
                        var17 = params[257];
                    } else {
                        var17 = params[258];
                    }
                }
            } else {
                if (input[0] <= -1.2585167288780212) {
                    if (input[0] <= -1.2837791442871094) {
                        var17 = params[259];
                    } else {
                        var17 = params[260];
                    }
                } else {
                    var17 = params[261];
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[9] <= 0.5) {
                        var17 = params[262];
                    } else {
                        var17 = params[263];
                    }
                } else {
                    if (input[0] <= -1.1211877465248108) {
                        var17 = params[264];
                    } else {
                        var17 = params[265];
                    }
                }
            } else {
                if (input[0] <= -0.6608918607234955) {
                    if (input[3] <= 5.450231730937958) {
                        var17 = params[266];
                    } else {
                        var17 = params[267];
                    }
                } else {
                    if (input[0] <= 0.6421823501586914) {
                        var17 = params[268];
                    } else {
                        var17 = params[269];
                    }
                }
            }
        }
        double var18;
        if (input[0] <= -0.8577364087104797) {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= -1.2636452317237854) {
                        var18 = params[270];
                    } else {
                        var18 = params[271];
                    }
                } else {
                    if (input[0] <= -0.9790468513965607) {
                        var18 = params[272];
                    } else {
                        var18 = params[273];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -1.3244270086288452) {
                        var18 = params[274];
                    } else {
                        var18 = params[275];
                    }
                } else {
                    if (input[0] <= -1.3780543804168701) {
                        var18 = params[276];
                    } else {
                        var18 = params[277];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.7834686040878296) {
                    if (input[9] <= 0.5) {
                        var18 = params[278];
                    } else {
                        var18 = params[279];
                    }
                } else {
                    if (input[3] <= 5.450231730937958) {
                        var18 = params[280];
                    } else {
                        var18 = params[281];
                    }
                }
            } else {
                if (input[0] <= -0.485067680478096) {
                    if (input[0] <= -0.8490623235702515) {
                        var18 = params[282];
                    } else {
                        var18 = params[283];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var18 = params[284];
                    } else {
                        var18 = params[285];
                    }
                }
            }
        }
        double var19;
        if (input[0] <= -1.005195677280426) {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= -1.0191248655319214) {
                        var19 = params[286];
                    } else {
                        var19 = params[287];
                    }
                } else {
                    if (input[13] <= 0.5) {
                        var19 = params[288];
                    } else {
                        var19 = params[289];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[4] <= -1.919716238975525) {
                        var19 = params[290];
                    } else {
                        var19 = params[291];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var19 = params[292];
                    } else {
                        var19 = params[293];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.7146458029747009) {
                    if (input[0] <= -0.7500385642051697) {
                        var19 = params[294];
                    } else {
                        var19 = params[295];
                    }
                } else {
                    if (input[0] <= 0.5618996620178223) {
                        var19 = params[296];
                    } else {
                        var19 = params[297];
                    }
                }
            } else {
                if (input[0] <= 0.5017509460449219) {
                    if (input[7] <= 0.5) {
                        var19 = params[298];
                    } else {
                        var19 = params[299];
                    }
                } else {
                    if (input[9] <= 0.5) {
                        var19 = params[300];
                    } else {
                        var19 = params[301];
                    }
                }
            }
        }
        double var20;
        if (input[0] <= -1.1047260165214539) {
            if (input[6] <= 0.5) {
                if (input[5] <= 0.5) {
                    if (input[0] <= -1.4813202023506165) {
                        var20 = params[302];
                    } else {
                        var20 = params[303];
                    }
                } else {
                    if (input[0] <= -1.126632809638977) {
                        var20 = params[304];
                    } else {
                        var20 = params[305];
                    }
                }
            } else {
                if (input[13] <= -0.5) {
                    var20 = params[306];
                } else {
                    if (input[4] <= -1.919716238975525) {
                        var20 = params[307];
                    } else {
                        var20 = params[308];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= -0.6604486405849457) {
                        var20 = params[309];
                    } else {
                        var20 = params[310];
                    }
                } else {
                    if (input[0] <= -0.412002831697464) {
                        var20 = params[311];
                    } else {
                        var20 = params[312];
                    }
                }
            } else {
                if (input[0] <= -0.656269907951355) {
                    if (input[12] <= 0.5) {
                        var20 = params[313];
                    } else {
                        var20 = params[314];
                    }
                } else {
                    if (input[0] <= 0.40234731137752533) {
                        var20 = params[315];
                    } else {
                        var20 = params[316];
                    }
                }
            }
        }
        double var21;
        if (input[0] <= -1.1047260165214539) {
            if (input[4] <= -0.7579967528581619) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= -1.4044564366340637) {
                        var21 = params[317];
                    } else {
                        var21 = params[318];
                    }
                } else {
                    if (input[0] <= -1.1504389643669128) {
                        var21 = params[319];
                    } else {
                        var21 = params[320];
                    }
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[2] <= 0.39837120473384857) {
                        var21 = params[321];
                    } else {
                        var21 = params[322];
                    }
                } else {
                    if (input[0] <= -1.2906171679496765) {
                        var21 = params[323];
                    } else {
                        var21 = params[324];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= 1.4713480472564697) {
                    if (input[13] <= 0.5) {
                        var21 = params[325];
                    } else {
                        var21 = params[326];
                    }
                } else {
                    if (input[0] <= 2.425053358078003) {
                        var21 = params[327];
                    } else {
                        var21 = params[328];
                    }
                }
            } else {
                if (input[0] <= 0.5139706432819366) {
                    if (input[0] <= -0.6541171967983246) {
                        var21 = params[329];
                    } else {
                        var21 = params[330];
                    }
                } else {
                    if (input[4] <= -1.5324764251708984) {
                        var21 = params[331];
                    } else {
                        var21 = params[332];
                    }
                }
            }
        }
        double var22;
        if (input[0] <= -0.8563434779644012) {
            if (input[4] <= -0.628916785120964) {
                if (input[7] <= 0.5) {
                    if (input[0] <= -1.4446611404418945) {
                        var22 = params[333];
                    } else {
                        var22 = params[334];
                    }
                } else {
                    if (input[13] <= -0.5) {
                        var22 = params[335];
                    } else {
                        var22 = params[336];
                    }
                }
            } else {
                if (input[6] <= 0.5) {
                    if (input[0] <= -1.4768248796463013) {
                        var22 = params[337];
                    } else {
                        var22 = params[338];
                    }
                } else {
                    if (input[0] <= -1.3162594437599182) {
                        var22 = params[339];
                    } else {
                        var22 = params[340];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.7834686040878296) {
                    if (input[0] <= -0.8546973168849945) {
                        var22 = params[341];
                    } else {
                        var22 = params[342];
                    }
                } else {
                    if (input[0] <= 0.4723730683326721) {
                        var22 = params[343];
                    } else {
                        var22 = params[344];
                    }
                }
            } else {
                if (input[0] <= 0.8184497058391571) {
                    if (input[0] <= -0.600046694278717) {
                        var22 = params[345];
                    } else {
                        var22 = params[346];
                    }
                } else {
                    if (input[0] <= 2.063591241836548) {
                        var22 = params[347];
                    } else {
                        var22 = params[348];
                    }
                }
            }
        }
        double var23;
        if (input[0] <= -1.09332937002182) {
            if (input[6] <= 0.5) {
                if (input[8] <= 0.5) {
                    if (input[2] <= 0.39837120473384857) {
                        var23 = params[349];
                    } else {
                        var23 = params[350];
                    }
                } else {
                    if (input[5] <= 0.5) {
                        var23 = params[351];
                    } else {
                        var23 = params[352];
                    }
                }
            } else {
                if (input[2] <= 0.39837120473384857) {
                    if (input[0] <= -1.5286160707473755) {
                        var23 = params[353];
                    } else {
                        var23 = params[354];
                    }
                } else {
                    if (input[0] <= -1.4621992111206055) {
                        var23 = params[355];
                    } else {
                        var23 = params[356];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[3] <= 5.450231730937958) {
                    if (input[0] <= 1.4455791115760803) {
                        var23 = params[357];
                    } else {
                        var23 = params[358];
                    }
                } else {
                    if (input[2] <= -2.6657105684280396) {
                        var23 = params[359];
                    } else {
                        var23 = params[360];
                    }
                }
            } else {
                if (input[0] <= -0.5590822398662567) {
                    if (input[0] <= -0.5637042224407196) {
                        var23 = params[361];
                    } else {
                        var23 = params[362];
                    }
                } else {
                    if (input[0] <= 0.7276568412780762) {
                        var23 = params[363];
                    } else {
                        var23 = params[364];
                    }
                }
            }
        }
        double var24;
        if (input[0] <= -1.0078548789024353) {
            if (input[6] <= 0.5) {
                if (input[2] <= -1.133669689297676) {
                    if (input[13] <= -0.5) {
                        var24 = params[365];
                    } else {
                        var24 = params[366];
                    }
                } else {
                    if (input[0] <= -1.0181118249893188) {
                        var24 = params[367];
                    } else {
                        var24 = params[368];
                    }
                }
            } else {
                if (input[0] <= -1.341078758239746) {
                    if (input[0] <= -1.345510721206665) {
                        var24 = params[369];
                    } else {
                        var24 = params[370];
                    }
                } else {
                    if (input[2] <= -1.133669689297676) {
                        var24 = params[371];
                    } else {
                        var24 = params[372];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[4] <= -0.3707568794488907) {
                    if (input[1] <= 20.545328298583627) {
                        var24 = params[373];
                    } else {
                        var24 = params[374];
                    }
                } else {
                    if (input[0] <= -0.10809359326958656) {
                        var24 = params[375];
                    } else {
                        var24 = params[376];
                    }
                }
            } else {
                if (input[7] <= 0.5) {
                    if (input[0] <= 3.844815969467163) {
                        var24 = params[377];
                    } else {
                        var24 = params[378];
                    }
                } else {
                    if (input[0] <= 0.20752882212400436) {
                        var24 = params[379];
                    } else {
                        var24 = params[380];
                    }
                }
            }
        }
        double var25;
        if (input[0] <= -1.093962550163269) {
            if (input[6] <= 0.5) {
                if (input[4] <= -0.11259698867797852) {
                    if (input[4] <= -1.661556363105774) {
                        var25 = params[381];
                    } else {
                        var25 = params[382];
                    }
                } else {
                    var25 = params[383];
                }
            } else {
                if (input[0] <= -1.2906171679496765) {
                    if (input[0] <= -1.4162963032722473) {
                        var25 = params[384];
                    } else {
                        var25 = params[385];
                    }
                } else {
                    if (input[4] <= -1.5324764251708984) {
                        var25 = params[386];
                    } else {
                        var25 = params[387];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[5] <= 0.5) {
                    if (input[0] <= -0.5533206462860107) {
                        var25 = params[388];
                    } else {
                        var25 = params[389];
                    }
                } else {
                    if (input[1] <= 20.545328298583627) {
                        var25 = params[390];
                    } else {
                        var25 = params[391];
                    }
                }
            } else {
                if (input[0] <= -0.6249925792217255) {
                    if (input[0] <= -0.6280316710472107) {
                        var25 = params[392];
                    } else {
                        var25 = params[393];
                    }
                } else {
                    if (input[0] <= 0.49067093431949615) {
                        var25 = params[394];
                    } else {
                        var25 = params[395];
                    }
                }
            }
        }
        double var26;
        if (input[0] <= -0.8577364087104797) {
            if (input[6] <= 0.5) {
                if (input[5] <= 0.5) {
                    if (input[13] <= -0.5) {
                        var26 = params[396];
                    } else {
                        var26 = params[397];
                    }
                } else {
                    if (input[0] <= -1.392806589603424) {
                        var26 = params[398];
                    } else {
                        var26 = params[399];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[4] <= -1.919716238975525) {
                        var26 = params[400];
                    } else {
                        var26 = params[401];
                    }
                } else {
                    if (input[0] <= -1.2191351652145386) {
                        var26 = params[402];
                    } else {
                        var26 = params[403];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.7834686040878296) {
                    if (input[0] <= -0.8515948951244354) {
                        var26 = params[404];
                    } else {
                        var26 = params[405];
                    }
                } else {
                    if (input[1] <= 20.545328298583627) {
                        var26 = params[406];
                    } else {
                        var26 = params[407];
                    }
                }
            } else {
                if (input[0] <= 0.7063831686973572) {
                    if (input[0] <= -0.5598420202732086) {
                        var26 = params[408];
                    } else {
                        var26 = params[409];
                    }
                } else {
                    if (input[0] <= 0.7436753809452057) {
                        var26 = params[410];
                    } else {
                        var26 = params[411];
                    }
                }
            }
        }
        double var27;
        if (input[6] <= 0.5) {
            if (input[0] <= 0.4918105900287628) {
                if (input[0] <= -1.0668006539344788) {
                    if (input[4] <= -0.628916785120964) {
                        var27 = params[412];
                    } else {
                        var27 = params[413];
                    }
                } else {
                    if (input[1] <= 20.545328298583627) {
                        var27 = params[414];
                    } else {
                        var27 = params[415];
                    }
                }
            } else {
                if (input[0] <= 0.618945986032486) {
                    if (input[0] <= 0.5814638137817383) {
                        var27 = params[416];
                    } else {
                        var27 = params[417];
                    }
                } else {
                    if (input[0] <= 0.6213519275188446) {
                        var27 = params[418];
                    } else {
                        var27 = params[419];
                    }
                }
            }
        } else {
            if (input[0] <= -0.8718554973602295) {
                if (input[2] <= -1.133669689297676) {
                    if (input[4] <= -1.919716238975525) {
                        var27 = params[420];
                    } else {
                        var27 = params[421];
                    }
                } else {
                    if (input[0] <= -1.3780543804168701) {
                        var27 = params[422];
                    } else {
                        var27 = params[423];
                    }
                }
            } else {
                if (input[0] <= 0.5256838202476501) {
                    if (input[7] <= 0.5) {
                        var27 = params[424];
                    } else {
                        var27 = params[425];
                    }
                } else {
                    if (input[4] <= -1.5324764251708984) {
                        var27 = params[426];
                    } else {
                        var27 = params[427];
                    }
                }
            }
        }
        double var28;
        if (input[0] <= -0.8577364087104797) {
            if (input[6] <= 0.5) {
                if (input[4] <= -1.661556363105774) {
                    if (input[3] <= 16.507580757141113) {
                        var28 = params[428];
                    } else {
                        var28 = params[429];
                    }
                } else {
                    if (input[0] <= -1.4784077405929565) {
                        var28 = params[430];
                    } else {
                        var28 = params[431];
                    }
                }
            } else {
                if (input[0] <= -0.8635613322257996) {
                    if (input[0] <= -1.3146132826805115) {
                        var28 = params[432];
                    } else {
                        var28 = params[433];
                    }
                } else {
                    if (input[4] <= -0.11259698867797852) {
                        var28 = params[434];
                    } else {
                        var28 = params[435];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[0] <= -0.7837218642234802) {
                    if (input[0] <= -0.8006901144981384) {
                        var28 = params[436];
                    } else {
                        var28 = params[437];
                    }
                } else {
                    if (input[3] <= 5.450231730937958) {
                        var28 = params[438];
                    } else {
                        var28 = params[439];
                    }
                }
            } else {
                if (input[0] <= -0.6540538966655731) {
                    if (input[12] <= 0.5) {
                        var28 = params[440];
                    } else {
                        var28 = params[441];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var28 = params[442];
                    } else {
                        var28 = params[443];
                    }
                }
            }
        }
        double var29;
        if (input[0] <= -1.0892139077186584) {
            if (input[6] <= 0.5) {
                if (input[13] <= -0.5) {
                    var29 = params[444];
                } else {
                    if (input[0] <= -1.2200848460197449) {
                        var29 = params[445];
                    } else {
                        var29 = params[446];
                    }
                }
            } else {
                if (input[2] <= -1.133669689297676) {
                    if (input[0] <= -1.4477635622024536) {
                        var29 = params[447];
                    } else {
                        var29 = params[448];
                    }
                } else {
                    if (input[0] <= -1.2912502884864807) {
                        var29 = params[449];
                    } else {
                        var29 = params[450];
                    }
                }
            }
        } else {
            if (input[6] <= 0.5) {
                if (input[4] <= 0.016482964158058167) {
                    if (input[0] <= -0.7861911058425903) {
                        var29 = params[451];
                    } else {
                        var29 = params[452];
                    }
                } else {
                    if (input[0] <= 0.24589736759662628) {
                        var29 = params[453];
                    } else {
                        var29 = params[454];
                    }
                }
            } else {
                if (input[0] <= -0.566679984331131) {
                    if (input[0] <= -0.8577364087104797) {
                        var29 = params[455];
                    } else {
                        var29 = params[456];
                    }
                } else {
                    if (input[7] <= 0.5) {
                        var29 = params[457];
                    } else {
                        var29 = params[458];
                    }
                }
            }
        }
        return (var0 + var1 + var2 + var3 + var4 + var5 + var6 + var7 + var8 + var9 + var10 + var11 + var12 + var13 + var14 + var15 + var16 + var17 + var18 + var19 + var20 + var21 + var22 + var23 + var24 + var25 + var26 + var27 + var28 + var29) * 0.03333333333333333;
    }
}
