| Package | Description |
|---|---|
| net.sf.tweety.graphs |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectedEdge<T extends Node>
Instances of this class represent directed edges.
|
class |
UndirectedEdge<T extends Node>
Instances of this class represent undirected edges.
|
class |
WeightedDirectedEdge<S extends Node,T extends Number> |
| Modifier and Type | Method and Description |
|---|---|
Edge<T> |
Graph.getEdge(T a,
T b)
Returns the corresponding edge (a,b) if a and b are adjacent.
|
Edge<T> |
DefaultGraph.getEdge(T a,
T b) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Edge<? extends T>> |
Graph.getEdges()
Returns the edges of this graph.
|
Collection<Edge<T>> |
DefaultGraph.getEdges() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Graph.add(Edge<T> edge)
Adds the given edge to this graph.
|
boolean |
DefaultGraph.add(Edge<T> edge) |
Copyright © 2018. All rights reserved.