Class UtilityPropagator

    • Constructor Detail

      • UtilityPropagator

        public UtilityPropagator​(UtilityNetworkAttribute networkAttribute,
                                 UtilityPropagatorFunctionType propagatorFunctionType,
                                 UtilityAttributeComparisonOperator comparisonOperator,
                                 java.lang.Object value)
        Creates a utility propagator object that allows a subset of UtilityNetworkAttribute values to propagate through a network.
        Parameters:
        networkAttribute - the network attribute to propagate further along the trace
        propagatorFunctionType - the function type that is applied to the utility network attribute to propagate the attribute further along the trace
        comparisonOperator - the filter operator that is applied when executing the trace. This operator is used to compare the propagated value to the specified getValue().
        value - the value that is compared against the propagated value when executing the trace. The type of this numeric value is dependent on UtilityNetworkAttribute.DataType in UtilityNetworkAttribute.
        Throws:
        java.lang.IllegalArgumentException - if networkAttribute is null
        java.lang.IllegalArgumentException - if propagatorFunctionType is null
        java.lang.IllegalArgumentException - if comparisonOperator is null
        java.lang.IllegalArgumentException - if value is null
        java.lang.IllegalArgumentException - if value is not a valid network attribute datatype
        Since:
        100.7.0
      • UtilityPropagator

        public UtilityPropagator​(UtilityNetworkAttribute networkAttribute,
                                 UtilityPropagatorFunctionType propagatorFunctionType,
                                 UtilityAttributeComparisonOperator comparisonOperator,
                                 java.lang.Object value,
                                 UtilityNetworkAttribute substitutionAttribute)
        Creates a utility propagator object that allows a subset of UtilityNetworkAttribute values to propagate through a network.
        Parameters:
        networkAttribute - the network attribute to propagate further along the trace
        propagatorFunctionType - the function type that is applied to the utility network attribute to propagate the attribute further along the trace
        comparisonOperator - the filter operator that is applied when executing the trace. This operator is used to compare the propagated value to the specified getValue().
        value - the value that is compared against the propagated value when executing the trace. The type of this numeric value is dependent on the UtilityNetworkAttribute.DataType in UtilityNetworkAttribute.
        substitutionAttribute - a utility network attribute that maps each bit in another bitset network attribute value to a new value
        Throws:
        java.lang.IllegalArgumentException - if networkAttribute is null
        java.lang.IllegalArgumentException - if propagatorFunctionType is null
        java.lang.IllegalArgumentException - if comparisonOperator is null
        java.lang.IllegalArgumentException - if value is null
        java.lang.IllegalArgumentException - if value is not a valid network attribute datatype
        java.lang.IllegalArgumentException - if substitutionAttribution is null
        Since:
        100.7.0