impl AdjacentMatrixParser