| Package | Description |
|---|---|
| uniol.apt.adt |
Implementation of various abstract data types.
|
| uniol.apt.adt.pn |
Representation of Petri nets.
|
| uniol.apt.adt.subgraph | |
| uniol.apt.adt.ts |
Representation of labeled transition systems.
|
| uniol.apt.analysis.connectivity | |
| uniol.apt.analysis.cycles | |
| uniol.apt.ui.impl.returns | |
| uniol.apt.util |
Various reusable utility functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
AbstractGraph is an abstract implementation of the IGraph interface. |
class |
Edge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
Represents an edge of type E in a graph of type G with nodes of type N having a id of the source node and target
node.
|
interface |
IEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
IEdge is an abstract interface to a common directed edge. |
interface |
IGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
IGraph is an abstract interface to a common graph. |
interface |
IGraphListener<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
A class can implement this interface to be informed about changes to a graph.
|
interface |
INode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
INode is an abstract interface to a common node. |
class |
Node<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
An implementation of the interface INode for just delegating the pre- and postset methodes to the graph of the type
G.
|
class |
StructuralExtensionRemover<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
This class listens to changes to a graph and removes a given extension from the graph when any structural change
occurs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Node<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
An implementation of the interface INode for just delegating the pre- and postset methodes to the graph of the type
G.
|
| Modifier and Type | Field and Description |
|---|---|
protected N |
Edge.source |
protected N |
Edge.target |
| Modifier and Type | Class and Description |
|---|---|
class |
Place
The Place class for PetriNets.
|
class |
Transition
The Transition class for PetriNets.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SubEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
A SubEdge is an edge of a SubGraph.
|
class |
SubGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
A subgraph represents a part of another graph and is defined by a set of nodes of that graph.
|
class |
SubNode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
A SubNode is a node of a SubGraph.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SubNode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
A SubNode is a node of a SubGraph.
|
| Modifier and Type | Method and Description |
|---|---|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SubGraph.getSubGraphByNodeIDs(G graph,
java.util.Collection<java.lang.String> ids)
Create a new sub graph for the given set of nodes.
|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SubGraph.getSubGraphByNodes(G graph,
java.util.Collection<N> nodes)
Create a new sub graph for the given set of nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
State
State is the node class of the TransitionSystem.
|
| Modifier and Type | Method and Description |
|---|---|
static <G extends IGraph<G,?,N>,N extends INode<G,?,N>> |
Connectivity.findIsolatedElements(G graph)
Compute all isolated elements of a graph.
|
static <G extends IGraph<G,?,N>,N extends INode<G,?,N>> |
Connectivity.getStronglyConnectedComponents(G graph)
Compute all of a graph's strongly connected components.
|
static <N extends INode<?,?,N>> |
Connectivity.getWeaklyConnectedComponent(N node)
Get the weakly connected component of a given node.
|
static <G extends IGraph<G,?,N>,N extends INode<G,?,N>> |
Connectivity.getWeaklyConnectedComponents(G graph)
Compute all of a graph's weakly connected components.
|
static <G extends IGraph<G,?,N>,N extends INode<G,?,N>> |
Connectivity.isStronglyConnected(G graph)
Check if a graph is strongly connected.
|
static <G extends IGraph<G,?,N>,N extends INode<G,?,N>> |
Connectivity.isWeaklyConnected(G graph)
Check if a graph is weakly connected.
|
| Constructor and Description |
|---|
Component(java.util.Collection<? extends INode<?,?,?>> c)
Copy constructor.
|
Components(java.util.Collection<? extends java.util.Set<? extends INode<?,?,?>>> c)
Copy constructor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CycleCallback<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
Callback which gets used by the
CycleSearch class to notify the
caller about cycles. |
| Modifier and Type | Method and Description |
|---|---|
<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
CycleSearch.searchCycles(G graph,
CycleCallback<G,E,N> cycleCb) |
| Modifier and Type | Class and Description |
|---|---|
class |
INodeCollectionReturnValueTransformation<T extends java.util.Collection<? extends INode<?,?,?>>> |
class |
INodeReturnValueTransformation<T extends INode<?,?,?>> |
| Modifier and Type | Class and Description |
|---|---|
class |
SpanningTree<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>
Calculate a spanning tree of a graph based on a breadth-first search.
|
| Modifier and Type | Method and Description |
|---|---|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SpanningTree.get(G graph)
Construct a spanning tree for the given graph.
|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SpanningTree.get(G graph,
N startNode)
Construct a spanning tree for the given graph.
|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SpanningTree.getReversed(G graph)
Construct a spanning tree for the given graph with arcs reversed.
|
static <G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> |
SpanningTree.getReversed(G graph,
N startNode)
Construct a spanning tree for the given graph with arcs reversed.
|