def features(direction): """ Get a full set of edge features """ features = set() for component in carve.get_features(vec.tuples2vecs(direction)): features.update(vec.vecs2tuples(component)) return features
def features(direction): features = set() for component in carve.get_features(vec.tuples2vecs(direction)): features.update(vec.vecs2tuples(component)) return features