|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectfr.ocelet.runtime.relation.Graph
public abstract class Graph
Generic abstract class that represents any kind of graph used in Ocelet
| Field Summary | |
|---|---|
protected static long |
edgeCounter
|
| Constructor Summary | |
|---|---|
Graph()
|
|
| Method Summary | ||
|---|---|---|
abstract
|
addEdge(T vcol)
Adds an edge to the graph, linking all together all the entities provided in the argument Collection. |
|
abstract void |
applyInteraction(Interaction gi)
Applies the given interaction to every edge of the graph. |
|
abstract Edge |
getNewEdge()
Obtains a new Edge instance for this graph. |
|
abstract
|
removeEdge(T vcol)
Removes from the graph the edge linking together the entities present in the argument Collection. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static long edgeCounter
| Constructor Detail |
|---|
public Graph()
| Method Detail |
|---|
public abstract Edge getNewEdge()
public abstract <T extends java.util.Collection<Entity>> void addEdge(T vcol)
vcol - A Collection of entities that will be added as vertex to the
graph and linked to each other by one edge.public abstract <T extends java.util.Collection<Entity>> void removeEdge(T vcol)
vcol - A collection of entities.public abstract void applyInteraction(Interaction gi)
gi - The Interaction operation to apply.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||