Class PrefixTransferFunctionProvider
java.lang.Object
org.scandroid.prefixtransfer.PrefixTransferFunctionProvider
- All Implemented Interfaces:
ITransferFunctionProvider<InstanceKeySite, PrefixVariable>
public class PrefixTransferFunctionProvider
extends Object
implements ITransferFunctionProvider<InstanceKeySite, PrefixVariable>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTODO: perhaps this should go with a Lattice object instead.booleanboolean
-
Constructor Details
-
PrefixTransferFunctionProvider
public PrefixTransferFunctionProvider()
-
-
Method Details
-
getEdgeTransferFunction
public UnaryOperator<PrefixVariable> getEdgeTransferFunction(InstanceKeySite src, InstanceKeySite dst) - Specified by:
getEdgeTransferFunctionin interfaceITransferFunctionProvider<InstanceKeySite, PrefixVariable>- Returns:
- the transfer function from OUT_src -> EDGE_<src,dst>
-
getMeetOperator
Description copied from interface:ITransferFunctionProviderTODO: perhaps this should go with a Lattice object instead. TODO: provide an API to allow composition of the meet operator with the flow operator for a given block, as an optimization?- Specified by:
getMeetOperatorin interfaceITransferFunctionProvider<InstanceKeySite, PrefixVariable>
-
getNodeTransferFunction
- Specified by:
getNodeTransferFunctionin interfaceITransferFunctionProvider<InstanceKeySite, PrefixVariable>- Returns:
- the transfer function from IN_node -> OUT_node
-
hasEdgeTransferFunctions
public boolean hasEdgeTransferFunctions()- Specified by:
hasEdgeTransferFunctionsin interfaceITransferFunctionProvider<InstanceKeySite, PrefixVariable>- Returns:
- true if this provider provides edge transfer functions
-
hasNodeTransferFunctions
public boolean hasNodeTransferFunctions()- Specified by:
hasNodeTransferFunctionsin interfaceITransferFunctionProvider<InstanceKeySite, PrefixVariable>- Returns:
- true if this provider provides node transfer functions
-