OrderedMerge

Parent Previous Next

Full Library / Defining_Flow / Switching / OrderedMerge
Block Name: OrderedMerge

If both input sequences are nondecreasing, then the output sequence will be nondecreasing. Note that if the inputs are not nondecreasing, then the output is rather complex. The key is that in each firing, it produces the smaller of the recorded token and the token it is currently reading.

Field Detail

inputA

public TypedIOPort inputA


inputB

public TypedIOPort inputB


output

public TypedIOPort output


recordedToken

private ScalarToken recordedToken


nextPort

private TypedIOPort nextPort


tentativeRecordedToken

private ScalarToken tentativeRecordedToken


tentativeNextPort

private TypedIOPort tentativeNextPort


Created with the Personal Edition of HelpNDoc: Produce online help for Qt applications