Class UndirectedTraversals


  • public class UndirectedTraversals
    extends java.lang.Object
    A set of traversals for performing undirected graph traversals
    Author:
    Tom Deering, Ben Holland
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.ensoftcorp.atlas.core.query.Q undirectedBetween​(com.ensoftcorp.atlas.core.query.Q context, com.ensoftcorp.atlas.core.query.Q from, com.ensoftcorp.atlas.core.query.Q to)
      Traverse all edges in the context between from and to in an undirected manner.
      static com.ensoftcorp.atlas.core.query.Q undirectedBetweenStep​(com.ensoftcorp.atlas.core.query.Q context, com.ensoftcorp.atlas.core.query.Q from, com.ensoftcorp.atlas.core.query.Q to)
      Traverse all edges in the context between from and to in an undirected manner.
      static com.ensoftcorp.atlas.core.query.Q undirectedTraverse​(com.ensoftcorp.atlas.core.query.Q context, com.ensoftcorp.atlas.core.query.Q origin)
      Traverse all edges in the context from the origin in an undirected manner.
      static com.ensoftcorp.atlas.core.query.Q undirectedTraverseStep​(com.ensoftcorp.atlas.core.query.Q context, com.ensoftcorp.atlas.core.query.Q origin)
      Traverse all edges in the context from the origin in an undirected manner.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • undirectedTraverse

        public static com.ensoftcorp.atlas.core.query.Q undirectedTraverse​(com.ensoftcorp.atlas.core.query.Q context,
                                                                           com.ensoftcorp.atlas.core.query.Q origin)
        Traverse all edges in the context from the origin in an undirected manner.
        Parameters:
        context -
        origin -
        Returns:
      • undirectedTraverseStep

        public static com.ensoftcorp.atlas.core.query.Q undirectedTraverseStep​(com.ensoftcorp.atlas.core.query.Q context,
                                                                               com.ensoftcorp.atlas.core.query.Q origin)
        Traverse all edges in the context from the origin in an undirected manner. Limited traversal to 1 edge step.
        Parameters:
        context -
        origin -
        Returns:
      • undirectedBetween

        public static com.ensoftcorp.atlas.core.query.Q undirectedBetween​(com.ensoftcorp.atlas.core.query.Q context,
                                                                          com.ensoftcorp.atlas.core.query.Q from,
                                                                          com.ensoftcorp.atlas.core.query.Q to)
        Traverse all edges in the context between from and to in an undirected manner.
        Parameters:
        context -
        from -
        to -
        Returns:
      • undirectedBetweenStep

        public static com.ensoftcorp.atlas.core.query.Q undirectedBetweenStep​(com.ensoftcorp.atlas.core.query.Q context,
                                                                              com.ensoftcorp.atlas.core.query.Q from,
                                                                              com.ensoftcorp.atlas.core.query.Q to)
        Traverse all edges in the context between from and to in an undirected manner. Limited traversal to 1 edge step.
        Parameters:
        context -
        from -
        to -
        Returns: