The paper studies the capacity of the OFDM and the OFDMA relay networks. Two relay schemes, amplify-and-forward (AF) relay and decode-and-forward (DF) relay are analyzed and compared for both OFDM and OFDMA relay networks. A relay node selection algorithm is proposed for OFDMA relay network. Numerical results show that under small relay power transmission, AF outperforms DF while the opposite i...