Title: Cooperative and Distributed Intelligent Computation in Fog Computing