net.walend.disentangle.graph.semiring.AllPathsFirstSteps
Overriding equals to speed up.
Overriding hashCode because I overrode equals.