calculates the cost normalization . this is such that the normalized cost is lower bounded by 1 e.g. when each segment gets its own historical node . concode_field_sep double MILLIS_IN_HOUR concode_elem_sep double HALF_LIFE concode_elem_sep double MILLIS_FACTOR concode_elem_sep double LAMBDA concode_elem_sep double INV_LAMBDA_SQUARE concode_elem_sep EmittingLogger log concode_elem_sep ListeningExecutorService exec concode_field_sep Pair<Double,ServerHolder> chooseBestServer concode_elem_sep double computeJointSegmentsCost concode_elem_sep double computeJointSegmentsCost concode_elem_sep double intervalCost concode_elem_sep ServerHolder findNewSegmentHomeReplicator concode_elem_sep ServerHolder findNewSegmentHomeBalancer concode_elem_sep void emitStats concode_elem_sep BalancerSegmentHolder pickSegmentToMove concode_elem_sep double calculateInitialTotalCost concode_elem_sep double computeCost
double function ( final List < ServerHolder > arg0 ) { double loc0 = 0 ; for ( ServerHolder loc1 : arg0 ) { for ( DataSegment loc2 : loc1 . getServer ( ) . getSegments ( ) . values ( ) ) { loc0 += computeJointSegmentsCost ( loc2 , loc2 ) ; } } return loc0 ; }