Class G


  • public class G
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      G()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.ensoftcorp.atlas.core.db.graph.Node in​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Get predecessor, expected to have exactly 1
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> inEdges​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Gets incoming edges having tag.
      static com.ensoftcorp.atlas.core.db.graph.GraphElement inMaybe​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Get predecessor, expected to have 0 or 1
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> ins​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Gets predecessor nodes along edges having tag.
      static com.ensoftcorp.atlas.core.db.graph.Node out​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Get successor, expected to have exactly 1.
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> outEdges​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Gets outgoing edges having tag.
      static com.ensoftcorp.atlas.core.db.graph.Node outMaybe​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Get successor, expected to have 0 or 1.
      static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> outs​(com.ensoftcorp.atlas.core.db.graph.Graph g, com.ensoftcorp.atlas.core.db.graph.Node node, java.lang.String tag)
      Gets successor nodes along edges having tag.
      • Methods inherited from class java.lang.Object

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

      • G

        public G()
    • Method Detail

      • outEdges

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> outEdges​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                                                                  com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                                                                  java.lang.String tag)
        Gets outgoing edges having tag.
        Parameters:
        g -
        node -
        tag -
        Returns:
      • outMaybe

        public static com.ensoftcorp.atlas.core.db.graph.Node outMaybe​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                       com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                       java.lang.String tag)
        Get successor, expected to have 0 or 1.
        Parameters:
        g -
        node -
        tag -
        Returns:
        null if out degree 0
      • out

        public static com.ensoftcorp.atlas.core.db.graph.Node out​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                  com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                  java.lang.String tag)
        Get successor, expected to have exactly 1.
        Parameters:
        g -
        node -
        tag -
        Returns:
      • outs

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> outs​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                                                              com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                                                              java.lang.String tag)
        Gets successor nodes along edges having tag.
        Parameters:
        g -
        node -
        tag -
        Returns:
      • inEdges

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> inEdges​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                                                                 com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                                                                 java.lang.String tag)
        Gets incoming edges having tag.
        Parameters:
        g -
        node -
        tag -
        Returns:
      • inMaybe

        public static com.ensoftcorp.atlas.core.db.graph.GraphElement inMaybe​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                              com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                              java.lang.String tag)
        Get predecessor, expected to have 0 or 1
        Parameters:
        g -
        node -
        tag -
        Returns:
        null if out degree 0
      • in

        public static com.ensoftcorp.atlas.core.db.graph.Node in​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                 com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                 java.lang.String tag)
        Get predecessor, expected to have exactly 1
        Parameters:
        g -
        node -
        tag -
        Returns:
      • ins

        public static com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> ins​(com.ensoftcorp.atlas.core.db.graph.Graph g,
                                                                                                             com.ensoftcorp.atlas.core.db.graph.Node node,
                                                                                                             java.lang.String tag)
        Gets predecessor nodes along edges having tag.
        Parameters:
        g -
        node -
        tag -
        Returns: