Uses of Class
org.insa.graphs.model.Node
-
-
Uses of Node in org.insa.graphes.model
Fields in org.insa.graphes.model declared as Node Modifier and Type Field Description private static Node[]GraphTest. nodesprivate Node[]NodeTest. nodesprivate static Node[]PathTest. nodesMethods in org.insa.graphes.model with parameters of type Node Modifier and Type Method Description private java.util.List<Arc>GraphTest. getArcsBetween(Node a, Node b)private ArcNodeTest. getFirstArcBetween(Node a, Node b) -
Uses of Node in org.insa.graphs.algorithm.shortestpath
Fields in org.insa.graphs.algorithm.shortestpath declared as Node Modifier and Type Field Description private NodeShortestPathData. destinationprivate NodeShortestPathData. originprivate NodeLabel. sommetCourantMethods in org.insa.graphs.algorithm.shortestpath that return Node Modifier and Type Method Description NodeShortestPathData. getDestination()NodeShortestPathData. getOrigin()NodeLabel. getSommetCourant()Methods in org.insa.graphs.algorithm.shortestpath with parameters of type Node Modifier and Type Method Description voidShortestPathAlgorithm. notifyDestinationReached(Node node)Notify all observers that the destination has been reached.voidShortestPathObserver. notifyDestinationReached(Node node)Notify the observer that the destination has been reached.voidShortestPathTextObserver. notifyDestinationReached(Node node)voidShortestPathAlgorithm. notifyNodeMarked(Node node)Notify all observers that a node has been marked, i.e. its final value has been set.voidShortestPathObserver. notifyNodeMarked(Node node)Notify the observer that a node has been marked, i.e. its final value has been set.voidShortestPathTextObserver. notifyNodeMarked(Node node)voidShortestPathAlgorithm. notifyNodeReached(Node node)Notify all observers that a node has been reached for the first time.voidShortestPathObserver. notifyNodeReached(Node node)Notify the observer that a node has been reached for the first time.voidShortestPathTextObserver. notifyNodeReached(Node node)voidShortestPathAlgorithm. notifyOriginProcessed(Node node)Notify all observers that the origin has been processed.voidShortestPathObserver. notifyOriginProcessed(Node node)Notify the observer that the origin has been processed.voidShortestPathTextObserver. notifyOriginProcessed(Node node)Constructors in org.insa.graphs.algorithm.shortestpath with parameters of type Node Constructor Description Label(Node init_Node)ShortestPathData(Graph graph, Node origin, Node destination, ArcInspector arcInspector)Construct a new instance of ShortestPathInputData with the given parameters. -
Uses of Node in org.insa.graphs.algorithm.weakconnectivity
Fields in org.insa.graphs.algorithm.weakconnectivity with type parameters of type Node Modifier and Type Field Description private java.util.ArrayList<java.util.ArrayList<Node>>WeaklyConnectedComponentsSolution. componentsMethods in org.insa.graphs.algorithm.weakconnectivity that return types with arguments of type Node Modifier and Type Method Description protected java.util.ArrayList<Node>WeaklyConnectedComponentsAlgorithm. bfs(java.util.ArrayList<java.util.HashSet<java.lang.Integer>> ugraph, boolean[] marked, int cur)Apply a breadth first search algorithm on the given undirected graph (adjacency list), starting at node cur, and marking nodes in marked.java.util.ArrayList<java.util.ArrayList<Node>>WeaklyConnectedComponentsSolution. getComponents()Methods in org.insa.graphs.algorithm.weakconnectivity with parameters of type Node Modifier and Type Method Description voidWeaklyConnectedComponentObserver. notifyNewNodeInComponent(Node node)Notify that a new node has been found for the current component.protected voidWeaklyConnectedComponentsAlgorithm. notifyNewNodeInComponent(Node node)Notify all observers that a new node has been found for the current component.voidWeaklyConnectedComponentTextObserver. notifyNewNodeInComponent(Node node)voidWeaklyConnectedComponentObserver. notifyStartComponent(Node curNode)Notify that the algorithm is entering a new component.protected voidWeaklyConnectedComponentsAlgorithm. notifyStartComponent(Node curNode)Notify all observers that the algorithm is entering a new component.voidWeaklyConnectedComponentTextObserver. notifyStartComponent(Node curNode)Method parameters in org.insa.graphs.algorithm.weakconnectivity with type arguments of type Node Modifier and Type Method Description voidWeaklyConnectedComponentObserver. notifyEndComponent(java.util.ArrayList<Node> nodes)Notify that the algorithm has computed a new component.protected voidWeaklyConnectedComponentsAlgorithm. notifyEndComponent(java.util.ArrayList<Node> nodes)Notify all observers that the algorithm has computed a new component.voidWeaklyConnectedComponentTextObserver. notifyEndComponent(java.util.ArrayList<Node> nodes)Constructor parameters in org.insa.graphs.algorithm.weakconnectivity with type arguments of type Node Constructor Description WeaklyConnectedComponentsSolution(WeaklyConnectedComponentsData data, AbstractSolution.Status status, java.util.ArrayList<java.util.ArrayList<Node>> components) -
Uses of Node in org.insa.graphs.gui
Fields in org.insa.graphs.gui with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>AlgorithmPanel.StartActionEvent. nodes(package private) java.util.List<Node>NodesInputPanel.InputChangedEvent. nodesMethods in org.insa.graphs.gui that return Node Modifier and Type Method Description NodeNodesInputPanel.NodeFinder. findClosestNode(Point point)protected NodeNodesInputPanel. getNodeForInput(javax.swing.JTextField textfield)Methods in org.insa.graphs.gui that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>NodesInputPanel. getNodeForInputs()java.util.List<Node>AlgorithmPanel.StartActionEvent. getNodes()(package private) java.util.List<Node>NodesInputPanel.InputChangedEvent. getNodes()Methods in org.insa.graphs.gui with parameters of type Node Modifier and Type Method Description voidGraphReaderProgressBar. notifyNewNodeRead(Node node)Method parameters in org.insa.graphs.gui with type arguments of type Node Modifier and Type Method Description protected booleanAlgorithmPanel. allNotNull(java.util.List<Node> nodes)Check if the given list of nodes does not contain anynullvalue.Constructor parameters in org.insa.graphs.gui with type arguments of type Node Constructor Description InputChangedEvent(java.util.List<Node> nodes2)StartActionEvent(java.lang.Class<? extends AbstractAlgorithm<?>> algoClass, java.util.List<Node> nodes, ArcInspector arcFilter, boolean graphicVisualization, boolean textualVisualization) -
Uses of Node in org.insa.graphs.gui.observers
Methods in org.insa.graphs.gui.observers with parameters of type Node Modifier and Type Method Description voidShortestPathGraphicObserver. notifyDestinationReached(Node node)voidWeaklyConnectedComponentGraphicObserver. notifyNewNodeInComponent(Node node)voidShortestPathGraphicObserver. notifyNodeMarked(Node node)voidShortestPathGraphicObserver. notifyNodeReached(Node node)voidShortestPathGraphicObserver. notifyOriginProcessed(Node node)voidWeaklyConnectedComponentGraphicObserver. notifyStartComponent(Node curNode)Method parameters in org.insa.graphs.gui.observers with type arguments of type Node Modifier and Type Method Description voidWeaklyConnectedComponentGraphicObserver. notifyEndComponent(java.util.ArrayList<Node> nodes) -
Uses of Node in org.insa.graphs.model
Fields in org.insa.graphs.model declared as Node Modifier and Type Field Description private NodeArcForward. destinationprivate NodeArcForward. originprivate NodePath. originFields in org.insa.graphs.model with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>Graph. nodesMethods in org.insa.graphs.model that return Node Modifier and Type Method Description NodeGraph. get(int id)Fetch the node with the given ID.abstract NodeArc. getDestination()NodeArcBackward. getDestination()NodeArcForward. getDestination()NodePath. getDestination()abstract NodeArc. getOrigin()NodeArcBackward. getOrigin()NodeArcForward. getOrigin()NodePath. getOrigin()Methods in org.insa.graphs.model that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>Graph. getNodes()Methods in org.insa.graphs.model with parameters of type Node Modifier and Type Method Description intNode. compareTo(Node other)Compare the ID of this node with the ID of the given node.static ArcNode. linkNodes(Node origin, Node destination, float length, RoadInformation roadInformation, java.util.ArrayList<Point> points)Link the two given nodes with one or two arcs (depending on roadInformation), with the given attributes.Method parameters in org.insa.graphs.model with type arguments of type Node Modifier and Type Method Description static PathPath. createFastestPathFromNodes(Graph graph, java.util.List<Node> nodes)Create a new path that goes through the given list of nodes (in order), choosing the fastest route if multiple are available.static PathPath. createShortestPathFromNodes(Graph graph, java.util.List<Node> nodes)Create a new path that goes through the given list of nodes (in order), choosing the shortest route if multiple are available.Constructors in org.insa.graphs.model with parameters of type Node Constructor Description ArcForward(Node origin, Node dest, float length, RoadInformation roadInformation, java.util.List<Point> points)Create a new ArcForward with the given attributes.Path(Graph graph, Node node)Create a new path containing a single node.Constructor parameters in org.insa.graphs.model with type arguments of type Node Constructor Description Graph(java.lang.String mapId, java.lang.String mapName, java.util.List<Node> nodes, GraphStatistics graphStatistics)Create a new graph with the given ID, name, nodes and information. -
Uses of Node in org.insa.graphs.model.io
Methods in org.insa.graphs.model.io that return Node Modifier and Type Method Description protected NodeBinaryPathReader. readNode(Graph graph)Read a node from the input stream and returns it.Methods in org.insa.graphs.model.io with parameters of type Node Modifier and Type Method Description voidGraphReaderObserver. notifyNewNodeRead(Node node)Notify that a new nodes has been read.
-