Example #1
0
        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
Example #2
0
 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
Example #3
0
 def features(direction):
     features = set()
     for component in carve.get_features(vec.tuples2vecs(direction)):
         features.update(vec.vecs2tuples(component))
     return features