Changes between Version 14 and Version 15 of Configuration
- Timestamp:
- 12/04/12 12:37:08 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Configuration
v14 v15 71 71 ||{{{dechunk}}} ||{{{DechunkFilter}}} ||{{{int chunks}}} ||{{{byte[]}}} ||Combines a byte array that was split up by the chunk filter.|| 72 72 ||{{{linearinterpolation}}} ||{{{LinearInterpolationFilterDouble}}} ||none ||{{{double[]}}} ||Creates a {{{double[]}}} of length-1 of the original, and linearly interpolates between the original values: {{{k'_i <- (k_i+k_{i+1})/2}}}|| 73 ||{{{lineartimeinterpolation}}}||{{{LinearTimeInterpolationFilterDouble}}}||{{{int step}}}||{{{double[]}}} ||For {{{step==2}}}, forwards the first message and then sends two messages for every message received, interpolating between one message and the next.|| 73 74 ||{{{multiply}}} ||{{{MultiplyFilterDouble}}} ||{{{double factor}}} ||{{{double[]}}} ||Multiplies each value of the incoming message by {{{factor}}}|| 74 75 ||{{{drop}}} ||{{{DropFilter}}} ||{{{int step}}} ||any ||Drops messages that are not a multiple of {{{step}}}|| … … 76 77 ||{{{timefactor}}} ||{{{TimeFactorFilter}}} ||{{{double factor}}} ||any ||Multiplies the sent timestamp of messages|| 77 78 ||{{{blockafter}}} ||{{{BlockAfterTimeFilter}}} ||{{{double time}}} ||any ||Drops messages with a timestamp greater than {{{time}}}|| 78 ||{{{lineartimeinterpolation}}}||{{{LinearTimeInterpolationFilterDouble}}}||{{{int step}}}||{{{double[]}}} ||For {{{step==2}}}, forwards the first message and then sends two messages for every message received, interpolating between one message and the next.||79 79 80 80 For convenience, the MUSCLE filters may be referred to by their name instead of their class: … … 85 85 }}} 86 86 87 By default, the conduit filters get applied at the receiving submodel. If a filter should be applied at the sending submodel , or if filters should be applied at both locations, the tie argument can takean additional argument, so that the first list of filters is applied at the sending side and the second list of filters is applied at the receiving side.87 By default, the conduit filters get applied at the receiving submodel. If a filter should be applied at the sending submodel or if filters should be applied at both locations, the {{{tie}}} function takes an additional argument, so that the first list of filters is applied at the sending side and the second list of filters is applied at the receiving side. 88 88 The following fragment multiplies the data with a constant on the sending side, and prints it on the receiving side: 89 89 {{{ … … 100 100 }}} 101 101 102 For large sets of data it might even make sense to split the data up before compressing, so that it gets sent in separate chunks and thecompressing is done in a separate thread from sending:102 For large data sets it may increase performance to split the data into multiple chunks before compressing. In the following configuration, it gets sent in separate chunks and compressing is done in a separate thread from sending: 103 103 {{{ 104 104 cs.attach('w' => 'r') {