changed edge type to predicate in GetAdjacentOf