No, this is pure graph theory, and is quite far away from anything machine learning.