public class FloydWarshallAlg<V> extends java.lang.Object implements IGraphObserver<V>
Constructor and Description |
---|
FloydWarshallAlg(IGraphDataSource<V> gds) |
Modifier and Type | Method and Description |
---|---|
void |
edgeDeleted(V source,
V target)
Used to notify when an edge is deleted from the graph.
|
void |
edgeInserted(V source,
V target)
Used to notify when an edge is inserted into the graph.
|
DRedTcRelation<V> |
getTcRelation() |
void |
nodeDeleted(V n)
Used to notify when a node is deleted from the graph.
|
void |
nodeInserted(V n)
Used to notify when a node is inserted into the graph.
|
public FloydWarshallAlg(IGraphDataSource<V> gds)
public void edgeInserted(V source, V target)
IGraphObserver
edgeInserted
in interface IGraphObserver<V>
source
- the source of the edgetarget
- the target of the edgepublic void edgeDeleted(V source, V target)
IGraphObserver
edgeDeleted
in interface IGraphObserver<V>
source
- the source of the edgetarget
- the target of the edgepublic void nodeInserted(V n)
IGraphObserver
nodeInserted
in interface IGraphObserver<V>
n
- the nodepublic void nodeDeleted(V n)
IGraphObserver
nodeDeleted
in interface IGraphObserver<V>
n
- the nodepublic DRedTcRelation<V> getTcRelation()