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

java.lang.Objectfr.ocelet.runtime.relation.Graph
fr.ocelet.runtime.relation.RegularOgraph
public class RegularOgraph
Regular graph implementation. We call a graph regular if its edges connect two vertex (and only two). In other words, a regular graph is not a hypergraph.
| Field Summary | |
|---|---|
protected edu.uci.ics.jung.graph.DirectedSparseMultigraph<Role,Edge> |
dsmg
|
| Fields inherited from class fr.ocelet.runtime.relation.Graph |
|---|
edgeCounter |
| Constructor Summary | |
|---|---|
protected |
RegularOgraph()
Protected constructor |
| Method Summary | ||
|---|---|---|
|
addEdge(T vcol)
Adds an edge to the graph, linking all together all the entities provided in the argument Collection. |
|
void |
applyInteraction(Interaction gi)
Applies the given interaction to every edge of the graph. |
|
Edge |
getNewEdge()
Obtains a new Edge instance for this graph. |
|
|
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 edu.uci.ics.jung.graph.DirectedSparseMultigraph<Role,Edge> dsmg
| Constructor Detail |
|---|
protected RegularOgraph()
| Method Detail |
|---|
public <T extends java.util.Collection<Entity>> void addEdge(T vcol)
addEdge in class Graphvcol - A Collection of entities that will be added as vertex to the
graph and linked to each other by one edge.public <T extends java.util.Collection<Entity>> void removeEdge(T vcol)
removeEdge in class Graphvcol - A collection of entities.public void applyInteraction(Interaction gi)
applyInteraction in class Graphgi - The Interaction operation to apply.public Edge getNewEdge()
getNewEdge in class Graph
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||