METHOD_0 ( ) { java . net . URL url = new java . net . URL ( STRING_0 ) ; java . io . InputStream is = new java . io . METHOD_1 ( url . METHOD_2 ( ) ) ; IDENT_0 . data . parser . IDENT_1 IDENT_2 = new IDENT_0 . data . parser . METHOD_3 ( ) ; IDENT_2 . METHOD_4 ( 4 ) ; IDENT_0 . data . IDENT_3 IDENT_4 = IDENT_2 . parse ( is ) ; double [ ] [ ] x = IDENT_4 . toArray ( new double [ IDENT_4 . size ( ) ] [ ] ) ; int [ ] y = IDENT_4 . toArray ( new int [ IDENT_4 . size ( ) ] ) ; int n = x . length ; IDENT_0 . validation . IDENT_5 IDENT_6 = new IDENT_0 . validation . METHOD_5 ( n ) ; for ( int i = 0 ; i < n ; i ++ ) { double [ ] [ ] IDENT_7 = IDENT_0 . math . Math . METHOD_6 ( x , IDENT_6 . IDENT_8 [ i ] ) ; int [ ] IDENT_9 = IDENT_0 . math . Math . METHOD_6 ( y , IDENT_6 . IDENT_8 [ i ] ) ; IDENT_10 . IDENT_0 . data . IDENT_11 [ ] IDENT_12 = IDENT_10 . IDENT_0 . utils . IDENT_13 . METHOD_7 ( IDENT_4 . attributes ( ) ) ; IDENT_10 . IDENT_0 . IDENT_14 . IDENT_15 tree = new IDENT_10 . IDENT_0 . IDENT_14 . METHOD_8 ( IDENT_12 , IDENT_10 . IDENT_0 . IDENT_14 . IDENT_16 . METHOD_9 ( IDENT_7 , true ) , IDENT_9 , 4 ) ; byte [ ] b = tree . serialize ( false ) ; IDENT_10 . IDENT_0 . IDENT_14 . METHOD_8 . Node node = IDENT_10 . IDENT_0 . IDENT_14 . METHOD_8 . METHOD_10 ( b , b . length , false ) ; "<AssertPlaceHolder>" ; } } METHOD_11 ( IDENT_10 . model . IDENT_17 [ ] ) { float IDENT_18 = FLOAT_0 ; for ( IDENT_10 . model . IDENT_17 f : IDENT_19 ) { if ( f == null ) { continue ; } final java . lang . Object k = f . METHOD_12 ( ) ; final float v = f . METHOD_13 ( ) ; float IDENT_20 = model . METHOD_14 ( k ) ; if ( IDENT_20 != FLOAT_0 ) { IDENT_18 += IDENT_20 * v ; } } return IDENT_18 ; }
org . junit . Assert . assertEquals ( tree . METHOD_11 ( x [ IDENT_6 . test [ i ] ] ) , node . METHOD_11 ( x [ IDENT_6 . test [ i ] ] ) )