public static function getTopStates($t_state_v, $top_k = 4, $options = array())
    {
        arsort($t_state_v);

        $top_states = array_slice($t_state_v, 0, $top_k);

        return $top_states;
    }
public static function getTopStates($t_state_v, $top_k = 4, $options = array())
    {
        arsort($t_state_v);

        $top_states = array_slice($t_state_v, 0, $top_k);

        return $top_states;
    }
public static function getTopStates ( $ t_state_v , $ top_k = 4 , $ options = array ( ) ) { arsort ( $ t_state_v ) ; $ top_states = array_slice ( $ t_state_v , 0 , $ top_k ) ; return $ top_states ; }
Static method getTopStates

@param array $t_state_v # input t_state_v
@param int   $top_k     # input top_k
@param array $options   # other options

@return array $top_states
Static method getTopStates