Decision Making And Performance Optimization In Distributed Cyber Physical Networks