Sampling and active learning methods for network reliability estimation using K-terminal spanning tree