public class CompositionContextImpl extends Object implements CompositionContext
Constructor and Description |
---|
CompositionContextImpl(CompositionSpecificationDialog dialog,
List<org.colomoto.biolqm.NodeInfo> nodeOrder) |
Modifier and Type | Method and Description |
---|---|
org.colomoto.biolqm.NodeInfo |
getLowLevelComponentFromName(String componentName,
int instance)
Obtain a NodeInfo from the name it had in the original module and an
instance identification
|
List<org.colomoto.biolqm.NodeInfo> |
getLowLevelComponents() |
Set<Integer> |
getNeighbourIndices(int instance,
int distance)
Get neighbours at an exact distance
|
Set<Integer> |
getNeighbourIndices(int instance,
int minDistance,
int maxDistance) |
public CompositionContextImpl(CompositionSpecificationDialog dialog, List<org.colomoto.biolqm.NodeInfo> nodeOrder)
public List<org.colomoto.biolqm.NodeInfo> getLowLevelComponents()
getLowLevelComponents
in interface CompositionContext
public Set<Integer> getNeighbourIndices(int instance, int minDistance, int maxDistance)
getNeighbourIndices
in interface CompositionContext
public Set<Integer> getNeighbourIndices(int instance, int distance)
CompositionContext
getNeighbourIndices
in interface CompositionContext
instance
- identification of the reference instancedistance
- the exact distance from the reference instancepublic org.colomoto.biolqm.NodeInfo getLowLevelComponentFromName(String componentName, int instance)
CompositionContext
getLowLevelComponentFromName
in interface CompositionContext
componentName
- the name of the component in the original moduleinstance
- the identification of the instanceCopyright © 2005–2020. All rights reserved.