\documentclass{book}
\usepackage{amssymb,amsmath}
\usepackage{booktabs}
\usepackage{xepersian}
\settextfont[Scale=1.3]{Yas}
\begin{document}
\begin{table}[htbp]
  \centering
  \caption{Add caption}
    \begin{tabular}{rrrr}
    \toprule
    name graph & max   & time  & average \\
    \midrule
    c125  & 14    & 0.788 & 12.9 \\
    c.500 & 57    & 0.099 & 56.9 \\
    c900  & 34    & 12    & 33 \\
    \bottomrule
    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%
\end{document}