lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.graph.ConnectionGraph< V extends Object, E extends Object > Class Template Reference

This implements a special graph that I call a ConnectionGraph. More...

Public Member Functions

void addEdge (V source, V destination, E edge)
void addEdges (V source, V destination, Set< E > edges)
 ConnectionGraph ()
Map< V, Set< E > > getDownstreamOf (V node)
List< V > getNodes ()
Map< V, Set< E > > getUpstreamOf (V node)

Detailed Description

This implements a special graph that I call a ConnectionGraph.

It differs from the other graphs in that both nodes and edges are parameterizable. So we can annotate nodes and edges. This is needed for the connection graphs because we need to annotate an edge with the delay and whether it is physical or not.

Constructor & Destructor Documentation

◆ ConnectionGraph()

org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.ConnectionGraph ( )

Member Function Documentation

◆ addEdge()

void org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.addEdge ( V source,
V destination,
E edge )

◆ addEdges()

void org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.addEdges ( V source,
V destination,
Set< E > edges )

◆ getDownstreamOf()

Map< V, Set< E > > org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.getDownstreamOf ( V node)

◆ getNodes()

List< V > org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.getNodes ( )

◆ getUpstreamOf()

Map< V, Set< E > > org.lflang.graph.ConnectionGraph< V extends Object, E extends Object >.getUpstreamOf ( V node)

The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/main/java/org/lflang/graph/ConnectionGraph.java