Off-line Learning of Coordination in Functionally Structured Agents for Distributed Data ProcessingRetrieval and reasoning in distributed case bases