Package dev.roanh.gmark.util
Class ConfigGraph
Simple graph that models the gMark graph configuration.
This graph has a node for each type and an edge between
types that have a configuration for how edges between
the two types should look.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.roanh.gmark.util.UniqueGraph
UniqueGraph.GraphEdge<V,
E>, UniqueGraph.GraphNode<V, E> -
Constructor Summary
ConstructorDescriptionConfigGraph
(Configuration config) Constructs a new configuration graph from the given gMark configuration.ConfigGraph
(Schema schema) Constructs a new configuration graph the given graph schema. -
Method Summary
Methods inherited from class dev.roanh.gmark.util.UniqueGraph
addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueEdge, addUniqueNode, copy, getEdge, getEdge, getEdgeCount, getEdges, getNode, getNodeCount, getNodes, removeNodeIf, toAdjacencyList
-
Constructor Details
-
ConfigGraph
Constructs a new configuration graph from the given gMark configuration.- Parameters:
config
- The gMark configuration.
-
ConfigGraph
Constructs a new configuration graph the given graph schema.- Parameters:
schema
- The graph schema.
-