phase_type_to_network function

Phase-type distribution to network