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