All Implemented Interfaces:
Serializable, Comparable<Class<? extends TraversalStrategy>>, TraversalStrategy<TraversalStrategy.OptimizationStrategy>, TraversalStrategy.OptimizationStrategy

This strategy optimizes any occurrence of CountGlobalStep followed by an IsStep. The idea is to limit the number of incoming elements in a way that it's enough for the IsStep to decide whether it evaluates true or false. If the traversal already contains a user supplied limit, the strategy won't modify it.
Author:
Daniel Kuppitz (http://gremlin.guru)
See Also:
Example:
 __.outE().count().is(0)      // is replaced by __.not(outE())
 __.outE().count().is(lt(3))  // is replaced by __.outE().limit(3).count().is(lt(3))
 __.outE().count().is(gt(3))  // is replaced by __.outE().limit(4).count().is(gt(3))