public double METHOD_1 ( TYPE_1 [ ] VAR_1 ) { double VAR_2 = 0.0 ; int count = 0 ; for ( int i = 0 ; i < ( ( VAR_1 . length ) - INT_1 ) ; i ++ ) { VAR_2 += VAR_3 [ VAR_1 [ count ] . index ] [ VAR_1 [ ( count + 1 ) ] . index ] ; count ++ ; } VAR_2 += VAR_3 [ ( count + 1 ) ] [ 0 ] ; return VAR_2 ; }

public double METHOD_1 ( int [ ] VAR_1 ) { double VAR_2 = 0.0 ; int count = 0 ; for ( int i = 0 ; i < ( ( VAR_1 . length ) - INT_1 ) ; i ++ ) { VAR_2 += VAR_3 [ VAR_1 [ count ] ] [ VAR_1 [ ( count + 1 ) ] ] ; count ++ ; } VAR_2 += VAR_3 [ ( count + 1 ) ] [ 0 ] ; return VAR_2 ; }
