Network graph built and probability tables initialized