Integration of Heterogeneous Systems as Multi-Agent Systems