Uses of Class
squidpony.squidai.graph.Node
Package | Description |
---|---|
squidpony.squidai.graph |
Graphs and graph algorithms used primarily (but not exclusively) for pathfinding.
|
-
Uses of Node in squidpony.squidai.graph
Fields in squidpony.squidai.graph declared as Node Modifier and Type Field Description protected Node<V>
Connection. a
protected Node<V>
Connection. b
protected Node<V>
Node. prev
Internal; a reference to the previous Node in a BinaryHeap.Fields in squidpony.squidai.graph with type parameters of type Node Modifier and Type Field Description protected HashMap<Node<V>,Connection<V>>
Node. neighbors
protected OrderedMap<V,Node<V>>
Graph. vertexMap
Methods in squidpony.squidai.graph that return Node Modifier and Type Method Description protected Node<V>
Connection. getInternalNodeA()
protected abstract Node<V>
Edge. getInternalNodeA()
protected Node<V>
Connection. getInternalNodeB()
protected abstract Node<V>
Edge. getInternalNodeB()
protected Node<V>
Graph. getNode(V v)
Node<V>
Connection. getNodeA()
Node<V>
Connection. getNodeB()
Methods in squidpony.squidai.graph that return types with arguments of type Node Modifier and Type Method Description protected Collection<Node<V>>
Graph. getNodes()
Methods in squidpony.squidai.graph with parameters of type Node Modifier and Type Method Description protected Connection<V>
Graph. addConnection(Node<V> a, Node<V> b)
protected Connection<V>
Graph. addConnection(Node<V> a, Node<V> b, float weight)
protected Connection<V>
UndirectedGraph. addConnection(Node<V> a, Node<V> b, float weight)
protected Connection<V>
Node. addEdge(Node<V> v, float weight)
protected boolean
Graph. connectionExists(Node<V> u, Node<V> v)
protected Connection<V>
Graph. getEdge(Node<V> a, Node<V> b)
protected Connection<V>
Node. getEdge(Node<V> v)
protected Connection<V>
UndirectedGraph. getEdge(Node<V> a, Node<V> b)
protected boolean
Graph. removeConnection(Node<V> a, Node<V> b)
protected boolean
UndirectedGraph. removeConnection(Node<V> a, Node<V> b)
protected Connection<V>
Node. removeEdge(Node<V> v)
protected void
Graph. removeNode(Node<V> node)
protected void
Connection. set(Node<V> a, Node<V> b, float weight)
protected abstract void
Edge. set(Node<V> a, Node<V> b, float weight)
Constructors in squidpony.squidai.graph with parameters of type Node Constructor Description Connection(Node<V> a, Node<V> b)
Connection(Node<V> a, Node<V> b, float weight)