Click or drag to resize

LGSPBackendCreateNamedFromSpec(String, IGlobalVariables, Int32) Method

Creates a new LGSPNamedGraph instance from the specified specification file. If the according dll does not exist or is out of date, the needed processing steps are performed automatically. A name for the graph is automatically generated.

Namespace: de.unika.ipd.grGen.lgsp
Assembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntax
C#
public LGSPNamedGraph CreateNamedFromSpec(
	string gmFilename,
	IGlobalVariables globalVariables,
	int capacity
)

Parameters

gmFilename  String
Filename of the model specification file (.gm).
globalVariables  IGlobalVariables
An object implementing the IGlobalVariables interface, serving as global variables.
capacity  Int32
The initial capacity for the name maps (performance optimization, use 0 if unsure).

Return Value

LGSPNamedGraph
The new LGSPNamedGraph instance.
Exceptions
ExceptionCondition
FileNotFoundExceptionThrown, when a needed specification file does not exist.
ExceptionThrown, when something goes wrong.
See Also