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

java.lang.Objectfr.ocelet.runtime.otypes.Ograph
public abstract class Ograph
Generic abstract class that represents any kind of graph used in Ocelet
| Field Summary | |
|---|---|
protected static long |
edgeCounter
|
| Constructor Summary | |
|---|---|
Ograph()
|
|
| Method Summary | ||
|---|---|---|
abstract void |
applyInteraction(Interaction gi)
Applies the given interaction to every edge of the graph. |
|
abstract
|
connect(T vcol)
Adds an edge to the graph, linking all together all the entities provided in the argument Collection. |
|
abstract
|
disconnect(T vcol)
Removes from the graph the edge linking together the entities present in the argument Collection. |
|
abstract Edge |
getNewEdge()
Obtains a new Edge instance for this graph. |
|
| 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 Ograph()
| Method Detail |
|---|
public abstract Edge getNewEdge()
public abstract <T extends java.util.Collection<Entity>> void connect(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 disconnect(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 | ||||||||