Structural learning of causal networks