code: public T permute(T vector, DependencyPath path) {
          int bestRelationScore = 0; 
          for (DependencyRelation link : path) {
              int relationScore = getRelationScore(link.relation());
              if (relationScore > bestRelationScore)
                  bestRelationScore = relationScore;
          }
          return permFunc.permute(vector, bestRelationScore);
      }
docs: {@inheritDoc}