TriFunction<MSCA,Integer,java.util.function.Function<MSCATransition,Integer>,MSCA>
public class ProjectionFunction extends Object implements TriFunction<MSCA,Integer,java.util.function.Function<MSCATransition,Integer>,MSCA>
Constructor | Description |
---|---|
ProjectionFunction(Label lab) |
Modifier and Type | Method | Description |
---|---|---|
MSCA |
apply(MSCA aut,
Integer indexprincipal,
java.util.function.Function<MSCATransition,Integer> getNecessaryPrincipal) |
compute the projection on the i-th principal
|
public ProjectionFunction(Label lab)
lab
- the label indicates whether CMs or CAs are to be projectedpublic MSCA apply(MSCA aut, Integer indexprincipal, java.util.function.Function<MSCATransition,Integer> getNecessaryPrincipal)
apply
in interface TriFunction<MSCA,Integer,java.util.function.Function<MSCATransition,Integer>,MSCA>
aut
- the composed automatonindexprincipal
- index of the principal to project in the compositiongetNecessaryPrincipal
- function returning the index of the necessary principal in a match transition (it could be
either the offerer or the requester), if anyCopyright © 2021. All rights reserved.