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. nodes
private Node[]
NodeTest. nodes
private static Node[]
PathTest. nodes
Methods 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 Arc
NodeTest. 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 Node
ShortestPathData. destination
private Node
ShortestPathData. origin
Methods in org.insa.graphs.algorithm.shortestpath that return Node Modifier and Type Method Description Node
ShortestPathData. getDestination()
Node
ShortestPathData. getOrigin()
Methods in org.insa.graphs.algorithm.shortestpath with parameters of type Node Modifier and Type Method Description void
ShortestPathAlgorithm. notifyDestinationReached(Node node)
Notify all observers that the destination has been reached.void
ShortestPathObserver. notifyDestinationReached(Node node)
Notify the observer that the destination has been reached.void
ShortestPathTextObserver. notifyDestinationReached(Node node)
void
ShortestPathAlgorithm. notifyNodeMarked(Node node)
Notify all observers that a node has been marked, i.e. its final value has been set.void
ShortestPathObserver. notifyNodeMarked(Node node)
Notify the observer that a node has been marked, i.e. its final value has been set.void
ShortestPathTextObserver. notifyNodeMarked(Node node)
void
ShortestPathAlgorithm. notifyNodeReached(Node node)
Notify all observers that a node has been reached for the first time.void
ShortestPathObserver. notifyNodeReached(Node node)
Notify the observer that a node has been reached for the first time.void
ShortestPathTextObserver. notifyNodeReached(Node node)
void
ShortestPathAlgorithm. notifyOriginProcessed(Node node)
Notify all observers that the origin has been processed.void
ShortestPathObserver. notifyOriginProcessed(Node node)
Notify the observer that the origin has been processed.void
ShortestPathTextObserver. notifyOriginProcessed(Node node)
Constructors in org.insa.graphs.algorithm.shortestpath with parameters of type Node Constructor Description 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. components
Methods 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 void
WeaklyConnectedComponentObserver. notifyNewNodeInComponent(Node node)
Notify that a new node has been found for the current component.protected void
WeaklyConnectedComponentsAlgorithm. notifyNewNodeInComponent(Node node)
Notify all observers that a new node has been found for the current component.void
WeaklyConnectedComponentTextObserver. notifyNewNodeInComponent(Node node)
void
WeaklyConnectedComponentObserver. notifyStartComponent(Node curNode)
Notify that the algorithm is entering a new component.protected void
WeaklyConnectedComponentsAlgorithm. notifyStartComponent(Node curNode)
Notify all observers that the algorithm is entering a new component.void
WeaklyConnectedComponentTextObserver. notifyStartComponent(Node curNode)
Method parameters in org.insa.graphs.algorithm.weakconnectivity with type arguments of type Node Modifier and Type Method Description void
WeaklyConnectedComponentObserver. notifyEndComponent(java.util.ArrayList<Node> nodes)
Notify that the algorithm has computed a new component.protected void
WeaklyConnectedComponentsAlgorithm. notifyEndComponent(java.util.ArrayList<Node> nodes)
Notify all observers that the algorithm has computed a new component.void
WeaklyConnectedComponentTextObserver. 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. nodes
Methods in org.insa.graphs.gui that return Node Modifier and Type Method Description Node
NodesInputPanel.NodeFinder. findClosestNode(Point point)
protected Node
NodesInputPanel. 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 void
GraphReaderProgressBar. notifyNewNodeRead(Node node)
Method parameters in org.insa.graphs.gui with type arguments of type Node Modifier and Type Method Description protected boolean
AlgorithmPanel. allNotNull(java.util.List<Node> nodes)
Check if the given list of nodes does not contain anynull
value.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 void
ShortestPathGraphicObserver. notifyDestinationReached(Node node)
void
WeaklyConnectedComponentGraphicObserver. notifyNewNodeInComponent(Node node)
void
ShortestPathGraphicObserver. notifyNodeMarked(Node node)
void
ShortestPathGraphicObserver. notifyNodeReached(Node node)
void
ShortestPathGraphicObserver. notifyOriginProcessed(Node node)
void
WeaklyConnectedComponentGraphicObserver. notifyStartComponent(Node curNode)
Method parameters in org.insa.graphs.gui.observers with type arguments of type Node Modifier and Type Method Description void
WeaklyConnectedComponentGraphicObserver. 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 Node
ArcForward. destination
private Node
ArcForward. origin
private Node
Path. origin
Fields in org.insa.graphs.model with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>
Graph. nodes
Methods in org.insa.graphs.model that return Node Modifier and Type Method Description Node
Graph. get(int id)
Fetch the node with the given ID.abstract Node
Arc. getDestination()
Node
ArcBackward. getDestination()
Node
ArcForward. getDestination()
Node
Path. getDestination()
abstract Node
Arc. getOrigin()
Node
ArcBackward. getOrigin()
Node
ArcForward. getOrigin()
Node
Path. 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 int
Node. compareTo(Node other)
Compare the ID of this node with the ID of the given node.static Arc
Node. 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 Path
Path. createFastestPathFromNodes(Graph graph, java.util.List<Node> nodes)
Deprecated.Need to be implemented.static Path
Path. createShortestPathFromNodes(Graph graph, java.util.List<Node> nodes)
Deprecated.Need to be implemented.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 Node
BinaryPathReader. 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 void
GraphReaderObserver. notifyNewNodeRead(Node node)
Notify that a new nodes has been read.
-