Class UniqueEntryExitCustomGraph

    • Constructor Summary

      Constructors 
      Constructor Description
      UniqueEntryExitCustomGraph​(com.ensoftcorp.atlas.core.db.graph.Graph graph, com.ensoftcorp.atlas.core.db.graph.Node masterEntry, com.ensoftcorp.atlas.core.db.graph.Node masterExit)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> edges()
      The set of edges in the graph
      com.ensoftcorp.atlas.core.db.graph.Node getEntryNode()
      Returns the master entry node
      com.ensoftcorp.atlas.core.db.graph.Node getExitNode()
      Returns the master exit node
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getPredecessors​(com.ensoftcorp.atlas.core.db.graph.Node node)
      Gets the predecessors of a given node
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getSuccessors​(com.ensoftcorp.atlas.core.db.graph.Node node)
      Gets the successors of a given node
      com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> nodes()
      The set of nodes in the graph
      • Methods inherited from class java.lang.Object

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

      • UniqueEntryExitCustomGraph

        public UniqueEntryExitCustomGraph​(com.ensoftcorp.atlas.core.db.graph.Graph graph,
                                          com.ensoftcorp.atlas.core.db.graph.Node masterEntry,
                                          com.ensoftcorp.atlas.core.db.graph.Node masterExit)
        Parameters:
        a - wrapper for a custom pre-formed entry/exit graph
    • Method Detail

      • getPredecessors

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getPredecessors​(com.ensoftcorp.atlas.core.db.graph.Node node)
        Gets the predecessors of a given node
        Specified by:
        getPredecessors in interface UniqueEntryExitGraph
        Parameters:
        node -
        Returns:
        Predecessors of node
      • getSuccessors

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> getSuccessors​(com.ensoftcorp.atlas.core.db.graph.Node node)
        Gets the successors of a given node
        Specified by:
        getSuccessors in interface UniqueEntryExitGraph
        Parameters:
        node -
        Returns:
        Successors of node
      • nodes

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Node> nodes()
        Description copied from interface: UniqueEntryExitGraph
        The set of nodes in the graph
        Specified by:
        nodes in interface UniqueEntryExitGraph
        Returns:
      • edges

        public com.ensoftcorp.atlas.core.db.set.AtlasSet<com.ensoftcorp.atlas.core.db.graph.Edge> edges()
        Description copied from interface: UniqueEntryExitGraph
        The set of edges in the graph
        Specified by:
        edges in interface UniqueEntryExitGraph
        Returns: