Class ConfigurationAas.IipGraphFactory
java.lang.Object
de.iip_ecosphere.platform.configuration.ConfigurationAas.IipGraphFactory
- All Implemented Interfaces:
GraphFactory
- Enclosing class:
ConfigurationAas
Implements a factory for the graph elements used.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEdge(net.ssehub.easy.varModel.confModel.IDecisionVariable var, IvmlGraphMapper.IvmlGraphNode start, IvmlGraphMapper.IvmlGraphNode end) Creates an edge.createGraph(net.ssehub.easy.varModel.confModel.IDecisionVariable var) Creates a graph instance.createNode(net.ssehub.easy.varModel.confModel.IDecisionVariable var) Creates a graph node.
-
Constructor Details
-
IipGraphFactory
private IipGraphFactory()
-
-
Method Details
-
createGraph
public IvmlGraphMapper.IvmlGraph createGraph(net.ssehub.easy.varModel.confModel.IDecisionVariable var) Description copied from interface:GraphFactoryCreates a graph instance.- Specified by:
createGraphin interfaceGraphFactory- Parameters:
var- the underlying variable- Returns:
- the graph instance
-
createEdge
public IvmlGraphMapper.IvmlGraphEdge createEdge(net.ssehub.easy.varModel.confModel.IDecisionVariable var, IvmlGraphMapper.IvmlGraphNode start, IvmlGraphMapper.IvmlGraphNode end) Description copied from interface:GraphFactoryCreates an edge.- Specified by:
createEdgein interfaceGraphFactory- Parameters:
var- the underlying variablestart- the start nodeend- the end node- Returns:
- the edge instance
-
createNode
public IvmlGraphMapper.IvmlGraphNode createNode(net.ssehub.easy.varModel.confModel.IDecisionVariable var) Description copied from interface:GraphFactoryCreates a graph node.- Specified by:
createNodein interfaceGraphFactory- Parameters:
var- the underlying variable- Returns:
- the node instance
-