Uses of Class
at.jku.ssw.fp.sect04_3.Node
-
Packages that use Node Package Description at.jku.ssw.fp.sect04_3 -
-
Uses of Node in at.jku.ssw.fp.sect04_3
Fields in at.jku.ssw.fp.sect04_3 declared as Node Modifier and Type Field Description private Node<V>
Edge. from
The source node of the edgeprivate Node<V>
Edge. to
The target node of the edgeFields in at.jku.ssw.fp.sect04_3 with type parameters of type Node Modifier and Type Field Description private List<Node<V>>
Graph. nodes
The list of nodesMethods in at.jku.ssw.fp.sect04_3 that return Node Modifier and Type Method Description Node<V>
Graph. addNode(V value)
Adds a node with a given value to the graph.Node<V>
Edge. getFrom()
Returns the source nodeNode<V>
Edge. getTo()
Returns the target nodeMethods in at.jku.ssw.fp.sect04_3 that return types with arguments of type Node Modifier and Type Method Description List<Node<V>>
Graph. getNodes()
Returns the list of nodes of this graph.List<Node<V>>
Node. getPredNodes()
Returns a list of connected nodes by incoming edges.List<Node<V>>
Node. getSuccNodes()
Returns a list of connected nodes by outgoing edges.Methods in at.jku.ssw.fp.sect04_3 with parameters of type Node Modifier and Type Method Description void
Graph. biConnect(Node<V> from, Node<V> to, int weight)
Makes a bidirectional connection of two nodes with a given weight.Edge<V>
Graph. connect(Node<V> from, Node<V> to, int weight)
Connects two nodes with a given weight.(package private) static <V> Edge<V>
Node. connect(Node<V> from, Node<V> to, int weight)
Connects two nodes.Optional<Edge<V>>
Node. getEdge(Node<V> succNode)
Returns the edge building a connection to the given node in an optional; with empty if no connection exists.int
Node. getWeight(Node<V> succNode)
Returns the weight of the edge building a connection to the given node in an optional; with empty if no connection exists.Constructors in at.jku.ssw.fp.sect04_3 with parameters of type Node Constructor Description Edge(Node<V> from, Node<V> to, int weight)
Constructor setting source and target and weight.
-