Combining graph neural network with deep reinforcement learning for resource allocation in computing force networks