You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2018/03/20 15:43:01 UTC

[47/50] tinkerpop git commit: Registered ByModulatorOptimizationStrategy with Gremlin-Python.

Registered ByModulatorOptimizationStrategy with Gremlin-Python.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/bee60f44
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/bee60f44
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/bee60f44

Branch: refs/heads/TINKERPOP-1682
Commit: bee60f449e6eace37422ea22c214819b49a40bd6
Parents: 796705d
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Wed Jul 12 18:51:06 2017 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Mon Mar 19 12:28:38 2018 -0700

----------------------------------------------------------------------
 .../main/jython/gremlin_python/process/strategies.py | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/bee60f44/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
----------------------------------------------------------------------
diff --git a/gremlin-python/src/main/jython/gremlin_python/process/strategies.py b/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
index f5ba9fb..42de9c3 100644
--- a/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
+++ b/gremlin-python/src/main/jython/gremlin_python/process/strategies.py
@@ -109,6 +109,16 @@ class AdjacentToIncidentStrategy(TraversalStrategy):
         TraversalStrategy.__init__(self)
 
 
+class ByModulatorOptimizationStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self)
+
+
+class CountStrategy(TraversalStrategy):
+    def __init__(self):
+        TraversalStrategy.__init__(self)
+
+
 class FilterRankingStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self)
@@ -154,11 +164,6 @@ class PathRetractionStrategy(TraversalStrategy):
         TraversalStrategy.__init__(self)
 
 
-class CountStrategy(TraversalStrategy):
-    def __init__(self):
-        TraversalStrategy.__init__(self)
-
-
 class RepeatUnrollStrategy(TraversalStrategy):
     def __init__(self):
         TraversalStrategy.__init__(self)