#NEWLINE# def brute_force_flops( D , N ) : #NEWLINE# #INDENT# '\n    Given the data dimension and the number of results to rank, compute\n    the number of flops for brute force exact distance computation.\n    ' #NEWLINE# return ( N * ( 3 * D ) )