|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionedEGraph
An extension of EGraph
s to support partitioning.
Method Summary | |
---|---|
List<EObject> |
getDomain(EClass type,
boolean strict,
int partition)
Get all EObject s of this graph which are compatible with the given type
and are in a given partition. |
int |
getDomainSize(EClass type,
boolean strict,
int partition)
Returns the size of the domain for a type in a partition. |
int |
getNumPartitions()
Get the number of partitions of this partitioned graph. |
Methods inherited from interface org.eclipse.emf.henshin.interpreter.EGraph |
---|
addGraph, addTree, copy, getCrossReferenceAdapter, getDomain, getDomainSize, getRoots, removeGraph, removeTree |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Method Detail |
---|
int getNumPartitions()
List<EObject> getDomain(EClass type, boolean strict, int partition)
EObject
s of this graph which are compatible with the given type
and are in a given partition. The partition must be greater or equal zero and
strictly less than the number of partitions of this graph.
This returns a fresh and modifiable list.
type
- The type of the objects.strict
- Whether subtypes are excluded from the result.partition
- The partition to be used.
EObject
s compatible with the type.int getDomainSize(EClass type, boolean strict, int partition)
getDomain(EClass, boolean, int)
.
This method should be used whenever the actual objects are not needed.
type
- The type.strict
- Whether subtypes are excluded.partition
- The partition to be used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |