UtilityTraceFunctionBarrier class final

An UtilityTraceFunctionBarrier stops continued traversal when a comparison expression evaluates as true.

An UtilityTraceFunctionBarrier performs a comparison expression between the current results of an UtilityTraceFunction and a given value. Remember that an UtilityTraceFunction references an UtilityNetworkAttribute and a calculation that is applied to it (Min, Max, Count, etc.) Once the comparison evaluates as true, network traversal stops.

Implemented types

Constructors

UtilityTraceFunctionBarrier({required UtilityTraceFunction traceFunction, required UtilityAttributeComparisonOperator comparisonOperator, required dynamic value})
Creates a barrier that stops tracing when an UtilityTraceFunction compared to a value evaluates to true.
factory

Properties

comparisonOperator UtilityAttributeComparisonOperator
The operator used for the comparison.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
traceFunction UtilityTraceFunction
The calculation to perform.
no setter
value → dynamic
The value to compare against.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited