Class MatMethodProviderArithmeticOperation

java.lang.Object
org.proforma.variability.util.MatMethodProviderArithmeticOperation
All Implemented Interfaces:
MatMethodProvider<Double>

public class MatMethodProviderArithmeticOperation extends Object implements MatMethodProvider<Double>

This materialization method performs an arithmetic operation on the value supplied by a MatArtifact.

The supplied value stands on the left of the following expression:

 suppliedValue <op> <v1> <op> ... <op> <vn>

The operands <vi> are resolved from the variation points. Usually there is only one operand. Supported operations are add, sub, mul, div.