|
|||||||||
| Home >> All >> com >> phoenixst >> [ plexus overview ] | PREV NEXT | ||||||||
A
- ADJACENT_TRAVERSER_FACTORY - Static variable in class com.phoenixst.plexus.GraphUtils
- A
TraverserFactorywhich creates adjacent node traversers. - AbstractGraph - class com.phoenixst.plexus.AbstractGraph.
- This class provides a skeletal implementation of the
Graphinterface, to minimize the effort required to implement this interface. - AbstractGraph() - Constructor for class com.phoenixst.plexus.AbstractGraph
- Protected constructor, called implicitly by subclasses.
- AbstractGraph.ChainTraverser - class com.phoenixst.plexus.AbstractGraph.ChainTraverser.
- AbstractGraph.ChainTraverser(Object) - Constructor for class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- AllTests - class com.phoenixst.plexus.AllTests.
- Test suite for all tests in this package.
- AllTests() - Constructor for class com.phoenixst.plexus.AllTests
- aTraverser - Variable in class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- add(Graph, Graph) - Static method in class com.phoenixst.plexus.GraphUtils
- Adds all the nodes and edges from
sourcetodestination. - addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation throws an
UnsupportedOperationException. - addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.DefaultGraph
- addEdge(Object, Object, Object) - Method in interface com.phoenixst.plexus.Graph
- Adds the specified edge to the
Graph(optional operation). - addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper
- addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.GraphWrapper
- addEdge(Object, Object, Object) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- addGraphListener(GraphListener) - Method in class com.phoenixst.plexus.DefaultGraph
- addGraphListener(GraphListener) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper
- addGraphListener(GraphListener) - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper
- addGraphListener(GraphListener) - Method in interface com.phoenixst.plexus.ObservableGraph
- Adds the specified
GraphListenerwhich will be notified whenever thisObservableGraph'sstructure changes. - addGraphListener(GraphListener) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- addNode(Object) - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation throws an
UnsupportedOperationException. - addNode(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- addNode(Object) - Method in interface com.phoenixst.plexus.Graph
- Adds
nodeto thisGraph(optional operation). - addNode(Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- addNode(Object) - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper
- addNode(Object) - Method in class com.phoenixst.plexus.GraphWrapper
- addNode(Object) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- addTo(Object, DefaultGraph.AdjacencyList) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Adds the specified edge to this
AdjacencyList. - adj - Variable in class com.phoenixst.plexus.DefaultGraph.NodeIterator
- adjIter - Variable in class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl
- adjIter - Variable in class com.phoenixst.plexus.DefaultGraph.NodeIterator
- alertEdgeAdded(DefaultGraph.AdjacencyList) - Method in class com.phoenixst.plexus.DefaultGraph
- Invoked when an edge has been added to alert any listening Cursors.
- alertEdgeRemoved(DefaultGraph.AdjacencyList, int) - Method in class com.phoenixst.plexus.DefaultGraph
- Invoked when an edge has been removed to alert any listening Cursors.
B
- bTraverser - Variable in class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- backupCursors - Variable in class com.phoenixst.plexus.DefaultGraph
- The backup list of currently iterating cursors.
C
- checkNode(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- Checks to see whether
nodeis in thisGraph. - clear() - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation iterates over the nodes in this graph,
removing each element using the Iterator.remove()>
Iterator.remove()55 operation. - clear() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Clears this
AdjacencyListand renders it invalid for further use. - clear() - Method in class com.phoenixst.plexus.DefaultGraph
- clear() - Method in interface com.phoenixst.plexus.Graph
- Removes all nodes and edges from this
Graph(optional operation). - clear() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- clear() - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper
- clear() - Method in class com.phoenixst.plexus.GraphWrapper
- clear() - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- com.phoenixst.plexus - package com.phoenixst.plexus
- contains(DefaultObjectEdge) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns whether or not this
AdjacencyListcontains the specified edge. - containsEdge(Graph.Edge) - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation iterates over the edges in this graph
with the tail and head of the specified
Edgelooking for the specifiedEdge. - containsEdge(Graph.Edge) - Method in class com.phoenixst.plexus.DefaultGraph
- containsEdge(Graph.Edge) - Method in interface com.phoenixst.plexus.Graph
- Returns
trueif thisGraphcontains the specifiedEdge. - containsEdge(Graph.Edge) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- containsEdge(Graph.Edge) - Method in class com.phoenixst.plexus.GraphWrapper
- containsNode(Object) - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation iterates over the nodes in this graph looking for the specified element.
- containsNode(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- containsNode(Object) - Method in interface com.phoenixst.plexus.Graph
- Returns
trueif thisGraphcontains the specified node. - containsNode(Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- containsNode(Object) - Method in class com.phoenixst.plexus.GraphWrapper
- createEdgeArray(Collection) - Method in class com.phoenixst.plexus.GraphTest
- createEdgeArrays(int, Predicate) - Method in class com.phoenixst.plexus.GraphTest
- createEdgeArrays(int, int, Predicate) - Method in class com.phoenixst.plexus.GraphTest
- createListenerArray() - Method in class com.phoenixst.plexus.DefaultGraph
- Returns the array copy of the listener list, creating it if it has changed.
- createListenerArray() - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- createPresentNodeRanges(int) - Method in class com.phoenixst.plexus.GraphTest
- createPresentNodeRanges(int, int) - Method in class com.phoenixst.plexus.GraphTest
- createTraverser(Graph, Object) - Method in interface com.phoenixst.plexus.TraverserFactory
- Returns a
Traverserinitialized usinggraphandnode. - currentEdge - Variable in class com.phoenixst.plexus.ObservableGraphWrapper.ObservableEdgeIteratorWrapper
- currentIndex - Variable in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- The index into the underlying list of the last element returned by next, or -1 if the iteration hasn't started yet.
- currentNode - Variable in class com.phoenixst.plexus.ObservableGraphWrapper.ObservableNodeIteratorWrapper
- currentNode - Variable in class com.phoenixst.plexus.ObservableGraphWrapper.ObservableTraverserWrapper
- cursor() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns a
Cursorover all the edges in thisAdjacencyList. - cursor - Variable in class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl
- cursor - Variable in class com.phoenixst.plexus.DefaultGraph.EdgeIteratorImpl
- cursor - Variable in class com.phoenixst.plexus.DefaultGraph.TraverserImpl
- cursorTo(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns a
Cursorover all the edges in thisAdjacencyListto the specified node. - cursors - Variable in class com.phoenixst.plexus.DefaultGraph
- The list of currently iterating cursors.
D
- DefaultEdge - class com.phoenixst.plexus.DefaultEdge.
- A default Graph.Edge implementation in which the
user-defined object must be
null. - DefaultEdge(Object, Object, boolean) - Constructor for class com.phoenixst.plexus.DefaultEdge
- Creates a new
DefaultEdge. - DefaultGraph - class com.phoenixst.plexus.DefaultGraph.
- A default implementation of the ObservableGraph interface.
- DefaultGraph(boolean, boolean, int) - Constructor for class com.phoenixst.plexus.DefaultGraph
- Creates a new
DefaultGraphwith space for the specified number of nodes. - DefaultGraph() - Constructor for class com.phoenixst.plexus.DefaultGraph
- Creates a new directed, multi
DefaultGraph. - DefaultGraph(boolean, boolean) - Constructor for class com.phoenixst.plexus.DefaultGraph
- Creates a new
DefaultGraph. - DefaultGraph(Graph) - Constructor for class com.phoenixst.plexus.DefaultGraph
- Creates a new
DefaultGraphwhich is a copy of the specifiedGraph. - DefaultGraph(boolean, boolean, Graph) - Constructor for class com.phoenixst.plexus.DefaultGraph
- Creates a new
DefaultGraphwhich is a copy of the specifiedGraph. - DefaultGraph.AdjacencyList - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.
- An adjacency list implementation.
- DefaultGraph.AdjacencyList(Object) - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Constructs a new
AdjacencyListfor the specified node. - DefaultGraph.AdjacencyList.Cursor - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor.
- DefaultGraph.AdjacencyList.Cursor(Predicate) - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Create a new cursor.
- DefaultGraph.AdjacencyList.DirectedEdgePredicate - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.DirectedEdgePredicate.
- Returns
trueif the head of the specifiedDefaultObjectEdgeis the same that specified by the constructor. - DefaultGraph.AdjacencyList.DirectedEdgePredicate(Object) - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.DirectedEdgePredicate
- DefaultGraph.AdjacencyList.InEdgePredicate - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.InEdgePredicate.
- Returns
trueif the head of the specifiedDefaultObjectEdgeis the same as the base node for this adjacency list. - DefaultGraph.AdjacencyList.InEdgePredicate() - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.InEdgePredicate
- DefaultGraph.AdjacencyList.OutEdgePredicate - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.OutEdgePredicate.
- Returns
trueif the tail of the specifiedDefaultObjectEdgeis the same as the base node for this adjacency list. - DefaultGraph.AdjacencyList.OutEdgePredicate() - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.OutEdgePredicate
- DefaultGraph.AdjacencyList.SelfEdgePredicate - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.SelfEdgePredicate.
- Returns
trueif the tail and head the specifiedDefaultObjectEdgeare the same. - DefaultGraph.AdjacencyList.SelfEdgePredicate() - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.SelfEdgePredicate
- DefaultGraph.AdjacencyList.UndirectedEdgePredicate - class com.phoenixst.plexus.DefaultGraph.AdjacencyList.UndirectedEdgePredicate.
- Returns
trueif the head or tail of the specifiedDefaultObjectEdgeis the same that specified by the constructor. - DefaultGraph.AdjacencyList.UndirectedEdgePredicate(Object) - Constructor for class com.phoenixst.plexus.DefaultGraph.AdjacencyList.UndirectedEdgePredicate
- DefaultGraph.AllEdgesIteratorImpl - class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl.
- Private implementation class for edgeIterator().
- DefaultGraph.AllEdgesIteratorImpl() - Constructor for class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl
- DefaultGraph.CursorReaper - class com.phoenixst.plexus.DefaultGraph.CursorReaper.
- A thread which reaps cursors from ALL DefaultGraph instances.
- DefaultGraph.CursorReaper() - Constructor for class com.phoenixst.plexus.DefaultGraph.CursorReaper
- DefaultGraph.CursorReference - class com.phoenixst.plexus.DefaultGraph.CursorReference.
- Basically, a WeakReference for a Cursor that knows which graph created it.
- DefaultGraph.CursorReference(Object) - Constructor for class com.phoenixst.plexus.DefaultGraph.CursorReference
- DefaultGraph.EdgeIteratorImpl - class com.phoenixst.plexus.DefaultGraph.EdgeIteratorImpl.
- Support implementation class for use by edgeIterator( tail, head ).
- DefaultGraph.EdgeIteratorImpl(DefaultGraph.AdjacencyList.Cursor) - Constructor for class com.phoenixst.plexus.DefaultGraph.EdgeIteratorImpl
- Creates a new
EdgeIteratorover the specified cursor. - DefaultGraph.NodeIterator - class com.phoenixst.plexus.DefaultGraph.NodeIterator.
- Private node iterator implementation.
- DefaultGraph.NodeIterator() - Constructor for class com.phoenixst.plexus.DefaultGraph.NodeIterator
- DefaultGraph.TraverserImpl - class com.phoenixst.plexus.DefaultGraph.TraverserImpl.
- Support implementation class used by both directed and undirected standard traverser methods.
- DefaultGraph.TraverserImpl(DefaultGraph.AdjacencyList.Cursor) - Constructor for class com.phoenixst.plexus.DefaultGraph.TraverserImpl
- Creates a new
TraverserImplover the specified edges adjacent to the specified node, which is expected to be the actual (using==) node object used by thisGraph. - DefaultGraphTest - class com.phoenixst.plexus.DefaultGraphTest.
- A DefaultGraph tester.
- DefaultGraphTest(Graph, boolean, boolean) - Constructor for class com.phoenixst.plexus.DefaultGraphTest
- DefaultObjectEdge - class com.phoenixst.plexus.DefaultObjectEdge.
- A default Graph.Edge implementation.
- DefaultObjectEdge(Object, Object, Object, boolean) - Constructor for class com.phoenixst.plexus.DefaultObjectEdge
- Creates a new
DefaultObjectEdge. - DefaultSimpleEdge - class com.phoenixst.plexus.DefaultSimpleEdge.
- A default Graph.Edge implementation for a simple graph in
which the user-defined object must be
null. - DefaultSimpleEdge(Graph, Object, Object, boolean) - Constructor for class com.phoenixst.plexus.DefaultSimpleEdge
- Creates a new
DefaultSimpleEdge. - debugToString() - Method in class com.phoenixst.plexus.DefaultGraph
- A debugging toString method, showing the internal data structures.
- degree(Object) - Method in class com.phoenixst.plexus.AbstractGraph
- If this graph is directed, this implementation returns
outDegree( node ) + inDegree( node ). - degree() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns the number of edges in this
AdjacencyList, with self-loops counted twice. - degree(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- degree(Object) - Method in interface com.phoenixst.plexus.Graph
- Returns the degree of
node, defined as the number of edges incident onnode, with self-loops counted twice. - degree(Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- degree(Object) - Method in class com.phoenixst.plexus.GraphWrapper
E
- EMPTY_TRAVERSER - Static variable in class com.phoenixst.plexus.GraphUtils
- An empty
Traverser. - edge - Variable in class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator
- edge - Variable in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- edge - Variable in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- edgeAdded() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Notifies this cursor that something has been added to the underlying list, always on the end.
- edgeAdded(Graph.Edge) - Method in class com.phoenixst.plexus.DefaultGraph
- Invoked after an edge has been added to this
Graph. - edgeAdded(GraphEvent) - Method in interface com.phoenixst.plexus.GraphListener
- Invoked when an edge has been added to the
Graph. - edgeAdded(GraphEvent) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper
- edgeAdded(GraphEvent) - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper
- edgeCount - Variable in class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl
- edgeIterator(Object, Object) - Method in class com.phoenixst.plexus.AbstractGraph
- If this graph is simple, this implementation returns a
modifiable singleton
Iteratorusing getEdge( tail, head ) 55 if the edge exists. - edgeIterator() - Method in class com.phoenixst.plexus.DefaultGraph
- Returns an
Iteratorover all theEdgesin thisGraph. - edgeIterator(Object, Object) - Method in class com.phoenixst.plexus.DefaultGraph
- Returns an
Iteratorover allEdgesfrom thisGraphwith the specified tail and head. - edgeIterator() - Method in interface com.phoenixst.plexus.Graph
- Returns an
Iteratorover all theEdgesin thisGraph. - edgeIterator(Object, Object) - Method in interface com.phoenixst.plexus.Graph
- Returns an
Iteratorover allEdgesfrom thisGraphwith the specified tail and head. - edgeIterator() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- edgeIterator(Object, Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- edgeIterator() - Method in class com.phoenixst.plexus.GraphWrapper
- edgeIterator(Object, Object) - Method in class com.phoenixst.plexus.GraphWrapper
- edgeRemoved(int) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Notifies this cursor that something was removed from the underlying list.
- edgeRemoved(Graph.Edge) - Method in class com.phoenixst.plexus.DefaultGraph
- Invoked after an edge has been removed from this
Graph. - edgeRemoved(GraphEvent) - Method in interface com.phoenixst.plexus.GraphListener
- Invoked when an edge has been removed from the
Graph. - edgeRemoved(GraphEvent) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper
- edgeRemoved(GraphEvent) - Method in class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper
- edgeSize() - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation counts the number of elements accessed
by this graph's
Graph.edgeIterator()55 method. - edgeSize - Variable in class com.phoenixst.plexus.DefaultGraph
- The number of edges in this graph.
- edgeSize() - Method in class com.phoenixst.plexus.DefaultGraph
- edgeSize() - Method in interface com.phoenixst.plexus.Graph
- Returns the number of edges in this
Graph. - edgeSize() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- edgeSize() - Method in class com.phoenixst.plexus.GraphWrapper
- edgeTransformer - Variable in class com.phoenixst.plexus.GraphTransformer
- The edge transformer from this
Graphto the wrapped one. - edges - Variable in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- The list of Edge objects in this adjacency list.
- endPoint - Variable in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.UndirectedEdgePredicate
- endpoint - Variable in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- equals(Object, Object) - Static method in class com.phoenixst.plexus.DefaultEdge
- equals(Object) - Method in class com.phoenixst.plexus.DefaultSimpleEdge
- Returns whether or not some other object is equal to this one.
- equals(DefaultSimpleEdge) - Method in class com.phoenixst.plexus.DefaultSimpleEdge
- See equals( Object ) 55 .
- equals(Object) - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns whether or not some other object is equal to this one.
- equals(Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- equals(GraphWrapper.EdgeWrapper) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- equals(Object) - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- equals(GraphWrapper.EdgeWrapper) - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- equals(Object, Object) - Static method in class com.phoenixst.plexus.SimpleEdge
- equals(Object) - Method in class com.phoenixst.plexus.SimpleEdge
- Two
SimpleEdgesare equal if they have the same directedness, are from the exact same graph (using==), and have equal endpoints. - equals(SimpleEdge) - Method in class com.phoenixst.plexus.SimpleEdge
- Two
SimpleEdgesare equal if they have the same directedness, are from the exact same graph (using==), and have equal endpoints. - equals(Object) - Method in class com.phoenixst.plexus.SimpleObjectEdge
- Two
SimpleObjectEdgesare equal if they have the same directedness, are from the exact same graph (using==), have equal endpoints, and contain the same user-defined object. - equals(SimpleEdge) - Method in class com.phoenixst.plexus.SimpleObjectEdge
- Two
SimpleObjectEdgesare equal if they have the same directedness, are from the exact same graph (using==), have equal endpoints, and contain the same user-defined object. - evaluate(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.DirectedEdgePredicate
- evaluate(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.InEdgePredicate
- evaluate(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.OutEdgePredicate
- evaluate(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.SelfEdgePredicate
- evaluate(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.UndirectedEdgePredicate
- execute(Object, Object) - Method in interface com.phoenixst.plexus.GraphTest.BinaryClosure
F
- fireEdgeAdded(Graph.Edge) - Method in class com.phoenixst.plexus.DefaultGraph
- Sends edge added event to registered listeners.
- fireEdgeAdded(Graph.Edge) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- fireEdgeRemoved(Graph.Edge) - Method in class com.phoenixst.plexus.DefaultGraph
- Sends edge removed event to registered listeners.
- fireEdgeRemoved(Graph.Edge) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- fireNodeAdded(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- Sends node added event to registered listeners.
- fireNodeAdded(Object) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- fireNodeRemoved(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- Sends node removed event to registered listeners.
- fireNodeRemoved(Object) - Method in class com.phoenixst.plexus.ObservableGraphWrapper
- first - Variable in class com.phoenixst.plexus.GraphTest.OrderedPair
G
- Graph - interface com.phoenixst.plexus.Graph.
- The root interface of the graph hierarchy.
- Graph.Edge - interface com.phoenixst.plexus.Graph.Edge.
- An interface describing an edge in a Graph.
- GraphEvent - class com.phoenixst.plexus.GraphEvent.
- An event that indicates a structural change in a Graph.
- GraphEvent(Graph, Object) - Constructor for class com.phoenixst.plexus.GraphEvent
- Constructs a new
GraphEvent. - GraphListener - interface com.phoenixst.plexus.GraphListener.
- The listener interface for receiving GraphEvents.
- GraphPrinter - class com.phoenixst.plexus.GraphPrinter.
- A Graph printing utility.
- GraphPrinter() - Constructor for class com.phoenixst.plexus.GraphPrinter
- GraphTest - class com.phoenixst.plexus.GraphTest.
- A Graph tester.
- GraphTest() - Constructor for class com.phoenixst.plexus.GraphTest
- GraphTest.BinaryClosure - interface com.phoenixst.plexus.GraphTest.BinaryClosure.
- GraphTest.OrderedPair - class com.phoenixst.plexus.GraphTest.OrderedPair.
- A simple immutable ordered pair implementation.
- GraphTest.OrderedPair(int, int) - Constructor for class com.phoenixst.plexus.GraphTest.OrderedPair
- GraphTransformer - class com.phoenixst.plexus.GraphTransformer.
- A
Graphwhich wraps another, transforming its nodes and edges in some way. - GraphTransformer(Graph) - Constructor for class com.phoenixst.plexus.GraphTransformer
- Constructs a new
GraphTransformerwith noTransformerscurrently set. - GraphTransformer(Graph, InvertibleTransformer) - Constructor for class com.phoenixst.plexus.GraphTransformer
- Constructs a new
GraphTransformerwith the specifiedTransformers. - GraphTransformer(Graph, InvertibleTransformer, InvertibleTransformer) - Constructor for class com.phoenixst.plexus.GraphTransformer
- Constructs a new
GraphTransformerwith the specifiedTransformers. - GraphUtils - class com.phoenixst.plexus.GraphUtils.
- This class contains static final members and static methods related to graphs and their iterators.
- GraphUtils() - Constructor for class com.phoenixst.plexus.GraphUtils
- Prevent instantiation.
- GraphUtils.SerializableTraverser - interface com.phoenixst.plexus.GraphUtils.SerializableTraverser.
- GraphUtils.SerializableTraverserFactory - interface com.phoenixst.plexus.GraphUtils.SerializableTraverserFactory.
- GraphUtils.SingletonEdgeIterator - class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator.
- GraphUtils.SingletonEdgeIterator(Graph, Graph.Edge) - Constructor for class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator
- GraphUtils.SingletonTraverser - class com.phoenixst.plexus.GraphUtils.SingletonTraverser.
- GraphUtils.SingletonTraverser(Graph, Graph.Edge, Object) - Constructor for class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- GraphUtils.SynchronizedGraphWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.
- GraphUtils.SynchronizedGraphWrapper(Graph) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- GraphUtils.SynchronizedGraphWrapper(Graph, Object) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper.
- GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper(Graph.Edge) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper.
- GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper(Iterator) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper
- GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper.
- GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper(Traverser) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper
- GraphUtils.SynchronizedObservableGraphWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper.
- GraphUtils.SynchronizedObservableGraphWrapper(ObservableGraph) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper
- GraphUtils.SynchronizedObservableGraphWrapper(ObservableGraph, Object) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper
- GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper - class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper.
- GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper(GraphListener) - Constructor for class com.phoenixst.plexus.GraphUtils.SynchronizedObservableGraphWrapper.SynchronizedGraphListenerWrapper
- GraphUtils.UnmodifiableGraphWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.
- GraphUtils.UnmodifiableGraphWrapper(Graph) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeIteratorWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeIteratorWrapper.
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeIteratorWrapper(Iterator) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeIteratorWrapper
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeWrapper.
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeWrapper(Graph.Edge) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableEdgeWrapper
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableNodeIteratorWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableNodeIteratorWrapper.
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableNodeIteratorWrapper(Iterator) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableNodeIteratorWrapper
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableTraverserWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableTraverserWrapper.
- GraphUtils.UnmodifiableGraphWrapper.UnmodifiableTraverserWrapper(Traverser) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableGraphWrapper.UnmodifiableTraverserWrapper
- GraphUtils.UnmodifiableObservableGraphWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper.
- GraphUtils.UnmodifiableObservableGraphWrapper(ObservableGraph) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper
- GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper - class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper.
- GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper(GraphListener) - Constructor for class com.phoenixst.plexus.GraphUtils.UnmodifiableObservableGraphWrapper.UnmodifiableGraphListenerWrapper
- GraphWrapper - class com.phoenixst.plexus.GraphWrapper.
- A
Graphwhich wraps another. - GraphWrapper(Graph) - Constructor for class com.phoenixst.plexus.GraphWrapper
- Creates a new
GraphWrapper. - GraphWrapper.EdgeIteratorWrapper - class com.phoenixst.plexus.GraphWrapper.EdgeIteratorWrapper.
- Protected edge iterator implementation.
- GraphWrapper.EdgeIteratorWrapper(Iterator) - Constructor for class com.phoenixst.plexus.GraphWrapper.EdgeIteratorWrapper
- GraphWrapper.EdgeWrapper - class com.phoenixst.plexus.GraphWrapper.EdgeWrapper.
- Edge wrapper.
- GraphWrapper.EdgeWrapper(Graph.Edge) - Constructor for class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- GraphWrapper.NodeIteratorWrapper - class com.phoenixst.plexus.GraphWrapper.NodeIteratorWrapper.
- Protected node iterator implementation.
- GraphWrapper.NodeIteratorWrapper(Iterator) - Constructor for class com.phoenixst.plexus.GraphWrapper.NodeIteratorWrapper
- GraphWrapper.TraverserWrapper - class com.phoenixst.plexus.GraphWrapper.TraverserWrapper.
- Protected implementation of Traverser.
- GraphWrapper.TraverserWrapper(Traverser) - Constructor for class com.phoenixst.plexus.GraphWrapper.TraverserWrapper
- g - Variable in class com.phoenixst.plexus.GraphTest
- The
Graphto be tested. - g - Variable in class com.phoenixst.plexus.GraphWrapper
- The wrapped graph.
- get(int) - Method in class com.phoenixst.plexus.GraphTest.OrderedPair
- getAdjacencyList() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Returns the
AdjacencyListfor which this is a cursor. - getBaseNode() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Convenience method to get the base node.
- getCurrentEdge() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Gets the index of the current element.
- getDefiningGraph() - Method in class com.phoenixst.plexus.DefaultGraph.CursorReference
- getEdge() - Method in class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- getEdge(Object, Object) - Method in class com.phoenixst.plexus.AbstractGraph
- If this graph is not simple, this implementation returns
the first
Edgereturned by edgeIterator( tail, head ) 55 , ornullif it the iterator is empty. - getEdge() - Method in class com.phoenixst.plexus.DefaultGraph.TraverserImpl
- getEdge(Object, Object) - Method in class com.phoenixst.plexus.DefaultGraph
- getEdge(Object, Object) - Method in interface com.phoenixst.plexus.Graph
- Returns an
Edgefrom thisGraphwith the specified tail and head, ornullif it does not exist. - getEdge() - Method in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- getEdge() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper
- getEdge(Object, Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper
- getEdge() - Method in class com.phoenixst.plexus.GraphWrapper.TraverserWrapper
- getEdge(Object, Object) - Method in class com.phoenixst.plexus.GraphWrapper
- getEdge() - Method in interface com.phoenixst.plexus.Traverser
- Returns the
Edgewhich was traversed to get to the last node returned by Iterator.next()>Iterator.next()55 . - getEdgeTransformer() - Method in class com.phoenixst.plexus.GraphTransformer
- Gets the edge transformer.
- getGraph() - Static method in class com.phoenixst.plexus.StaticGraphTest
- getHead() - Method in class com.phoenixst.plexus.DefaultEdge
- getHead() - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns the node which is the head of this
Edge. - getHead() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- getHead() - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- getHead() - Method in class com.phoenixst.plexus.SimpleEdge
- getNodeTransformer() - Method in class com.phoenixst.plexus.GraphTransformer
- Gets the node transformer.
- getObject() - Method in class com.phoenixst.plexus.GraphEvent
- getOtherEndpoint() - Method in class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- getOtherEndpoint(Object) - Method in class com.phoenixst.plexus.DefaultEdge
- getOtherEndpoint() - Method in class com.phoenixst.plexus.DefaultGraph.TraverserImpl
- getOtherEndpoint(Object) - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns the node which is at the other end of this
Edgethan the specified node. - getOtherEndpoint() - Method in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- getOtherEndpoint(Object) - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- getOtherEndpoint() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper
- getOtherEndpoint(Object) - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- getOtherEndpoint() - Method in class com.phoenixst.plexus.GraphWrapper.TraverserWrapper
- getOtherEndpoint(Object) - Method in class com.phoenixst.plexus.SimpleEdge
- getOtherEndpoint() - Method in interface com.phoenixst.plexus.Traverser
- Returns the node at the other end of the edge which was
traversed to get to the last node returned by Iterator.next()>
Iterator.next()55 . - getOtherNode() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- Convenience method to get the other end of the current edge.
- getTail() - Method in class com.phoenixst.plexus.DefaultEdge
- getTail() - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns the node which is the tail of this
Edge. - getTail() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- getTail() - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- getTail() - Method in class com.phoenixst.plexus.SimpleEdge
- getTo(Object) - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns the specified edge if this
AdjacencyListcontains it, ornullif it doesn't. - getUserObject() - Method in class com.phoenixst.plexus.DefaultEdge
- getUserObject() - Method in class com.phoenixst.plexus.DefaultObjectEdge
- getUserObject() - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns the user object contained in this
Edge. - getUserObject() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- getUserObject() - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- getUserObject() - Method in class com.phoenixst.plexus.SimpleEdge
- getUserObject() - Method in class com.phoenixst.plexus.SimpleObjectEdge
- getWeight(Graph.Edge) - Method in interface com.phoenixst.plexus.Weight
- Gets the weight of the specified edge.
- graph - Variable in class com.phoenixst.plexus.DefaultGraphTest
- graph - Variable in class com.phoenixst.plexus.DefaultSimpleEdge
- The
Graphfrom which thisEdgecame. - graph - Variable in class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator
- graph - Variable in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- graph - Variable in class com.phoenixst.plexus.SimpleEdge
- The graph which created this
Edge. - graphSet - Variable in class com.phoenixst.plexus.DefaultGraph.CursorReaper
H
- hasEndpoint - Variable in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- hasNext() - Method in class com.phoenixst.plexus.AbstractGraph.ChainTraverser
- hasNext() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.Cursor
- hasNext() - Method in class com.phoenixst.plexus.DefaultGraph.AllEdgesIteratorImpl
- hasNext() - Method in class com.phoenixst.plexus.DefaultGraph.EdgeIteratorImpl
- hasNext() - Method in class com.phoenixst.plexus.DefaultGraph.NodeIterator
- hasNext() - Method in class com.phoenixst.plexus.DefaultGraph.TraverserImpl
- hasNext - Variable in class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator
- hasNext() - Method in class com.phoenixst.plexus.GraphUtils.SingletonEdgeIterator
- hasNext - Variable in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- hasNext() - Method in class com.phoenixst.plexus.GraphUtils.SingletonTraverser
- hasNext() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper
- hasNext() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedTraverserWrapper
- hasNext() - Method in class com.phoenixst.plexus.GraphWrapper.EdgeIteratorWrapper
- hasNext() - Method in class com.phoenixst.plexus.GraphWrapper.NodeIteratorWrapper
- hasNext() - Method in class com.phoenixst.plexus.GraphWrapper.TraverserWrapper
- hashCode() - Method in class com.phoenixst.plexus.DefaultSimpleEdge
- hashCode() - Method in interface com.phoenixst.plexus.Graph.Edge
- Returns the hash code for this
Edge. - hashCode() - Method in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedEdgeWrapper
- hashCode() - Method in class com.phoenixst.plexus.GraphWrapper.EdgeWrapper
- hashCode() - Method in class com.phoenixst.plexus.SimpleEdge
- hashCode() - Method in class com.phoenixst.plexus.SimpleObjectEdge
- head - Variable in class com.phoenixst.plexus.DefaultEdge
- The head of this
Edge. - head - Variable in class com.phoenixst.plexus.DefaultGraph.AdjacencyList.DirectedEdgePredicate
- head - Variable in class com.phoenixst.plexus.SimpleEdge
- The head of this
Edge.
I
- IN_TRAVERSER_FACTORY - Static variable in class com.phoenixst.plexus.GraphUtils
- A
TraverserFactorywhich creates in node traversers for directed graphs. - InvertibleTransformer - interface com.phoenixst.plexus.InvertibleTransformer.
- An invertible
Transformer. - i - Variable in class com.phoenixst.plexus.GraphUtils.SynchronizedGraphWrapper.SynchronizedIteratorWrapper
- i - Variable in class com.phoenixst.plexus.GraphWrapper.EdgeIteratorWrapper
- i - Variable in class com.phoenixst.plexus.GraphWrapper.NodeIteratorWrapper
- i - Variable in class com.phoenixst.plexus.GraphWrapper.TraverserWrapper
- inCursor() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns a
Cursorover all the in edges in thisAdjacencyList. - inDegree(Object) - Method in class com.phoenixst.plexus.AbstractGraph
- This implementation counts the number of elements accessed by this graph's inTraverser( node ) 55 method.
- inDegree() - Method in class com.phoenixst.plexus.DefaultGraph.AdjacencyList
- Returns the number of in edges in this
AdjacencyList. - inDegree(Object) - Method in class com.phoenixst.plexus.DefaultGraph
- inDegree(Object) - Method in interface com.phoenixst.plexus.Graph
- If this is a directed graph, returns the in