Index
All Classes and Interfaces|All Packages|Serialized Form
G
- getAllEdges() - Method in class graphlib.graphs.DirectedGraph
-
Get a list containing all directed edges from the graph.
- getAllEdges() - Method in class graphlib.graphs.DirectedMultiGraph
-
Get a list containing all directed edges from the graph.
- getAllEdges() - Method in class graphlib.graphs.UndirectedGraph
-
Get a list containing all undirected edges from the graph.
- getAllEdges() - Method in class graphlib.graphs.UndirectedMultiGraph
-
Get a list containing all undirected edges from the graph.
- getAllNodes() - Method in class graphlib.graphs.DirectedMultiGraph
-
Get all nodes contained in the graph.
- getDegree(Node<T>) - Method in class graphlib.graphs.UndirectedGraph
-
Get the degree of a node in the graph.
- getDegree(Node<T>) - Method in class graphlib.graphs.UndirectedMultiGraph
-
Get the degree of a node in the graph.
- getDestination() - Method in class graphlib.edges.DirectedEdge
-
Get the destination node of this edge.
- getEdge(Node<T>, Node<T>) - Method in class graphlib.graphs.DirectedGraph
-
Get the directed edge that goes from the given source node to the given destination node, if any.
- getEdge(Node<T>, Node<T>) - Method in class graphlib.graphs.UndirectedGraph
-
Get the edge between two nodes, if any.
- getEdges(Node<T>, Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get the directed edges that go from the given source node to the given destination node, if any.
- getEdges(Node<T>, Node<T>) - Method in class graphlib.graphs.UndirectedMultiGraph
-
Get edges between the given two nodes, if any.
- getIncidentEdges(Node<T>) - Method in class graphlib.graphs.UndirectedGraph
-
Get the list of incident edges of a given node
n
. - getIncidentEdges(Node<T>) - Method in class graphlib.graphs.UndirectedMultiGraph
-
Get the list of incident edges of a given node
n
. - getIncomingEdges(Node<T>) - Method in class graphlib.graphs.DirectedGraph
-
Get a list of incoming edges in a given node
n
. - getIncomingEdges(Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get a list of incoming edges in a given node
n
. - getIndegree(Node<T>) - Method in class graphlib.graphs.DirectedGraph
-
Get the in degree of a node in the graph.
- getIndegree(Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get the in degree of a node in the graph.
- getNeighbours(Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get all neighbours of a given node
n
. - getNode(T) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get a graph node based on its key.
- getNode1() - Method in class graphlib.edges.Edge
-
Get first node.
- getNode1() - Method in class graphlib.edges.UndirectedEdge
-
Get the first node of this edge.
- getNode2() - Method in class graphlib.edges.Edge
-
Get second node.
- getNode2() - Method in class graphlib.edges.UndirectedEdge
-
Get the second node of this edge.
- getNodes() - Method in class graphlib.edges.Edge
-
Get a list containing both nodes (arbitrary order).
- getNodeStream() - Method in class graphlib.edges.Edge
-
Get a stream containing both nodes (arbitrary order).
- getOutdegree(Node<T>) - Method in class graphlib.graphs.DirectedGraph
-
Get the out degree of a node in the graph.
- getOutdegree(Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get the out degree of a node in the graph.
- getOutgoingEdges(Node<T>) - Method in class graphlib.graphs.DirectedGraph
-
Get a list of outgoing edges from a given node
n
. - getOutgoingEdges(Node<T>) - Method in class graphlib.graphs.DirectedMultiGraph
-
Get a list of outgoing edges from a given node
n
. - getSource() - Method in class graphlib.edges.DirectedEdge
-
Get the source node of this edge.
- getWeight() - Method in class graphlib.edges.Edge
-
Get the weight associated to the edge.
- graphlib.edges - package graphlib.edges
- graphlib.exceptions - package graphlib.exceptions
- graphlib.graphs - package graphlib.graphs
- graphlib.io - package graphlib.io
- graphlib.nodes - package graphlib.nodes
- graphlib.paths - package graphlib.paths
- graphlib.util - package graphlib.util
- GraphReader - Class in graphlib.io
-
A graph reader is used to read graphs from a text file.
- GraphReader() - Constructor for class graphlib.io.GraphReader
- Graphs - Class in graphlib.util
-
This class consists exclusively of static methods that operate on or return Graphs.
- Graphs() - Constructor for class graphlib.util.Graphs
- GraphWriter - Class in graphlib.io
-
A graph writer is used to write graphs to a text file.
- GraphWriter() - Constructor for class graphlib.io.GraphWriter
All Classes and Interfaces|All Packages|Serialized Form