Class StartPathElement
- java.lang.Object
-
- net.ssehub.easy.varModel.confModel.paths.StartPathElement
-
- All Implemented Interfaces:
IResolutionPathElement
public class StartPathElement extends java.lang.Object implements IResolutionPathElement
The start of a resolution path at a top-level variable.- Author:
- Holger Eichelberger
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractVariabledecl
-
Constructor Summary
Constructors Constructor Description StartPathElement(AbstractVariable decl)Creates a path start.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDecisionVariableresolve(IConfiguration config)Resolves this path forconfig.
-
-
-
Field Detail
-
decl
private AbstractVariable decl
-
-
Constructor Detail
-
StartPathElement
public StartPathElement(AbstractVariable decl)
Creates a path start.- Parameters:
decl- the top-level declaration
-
-
Method Detail
-
resolve
public IDecisionVariable resolve(IConfiguration config)
Description copied from interface:IResolutionPathElementResolves this path forconfig.- Specified by:
resolvein interfaceIResolutionPathElement- Parameters:
config- the configuration to resolve on- Returns:
- the resolved decision variable (may be null if resolution fails)
-
-