Changes between Version 14 and Version 15 of Configuration

Show
Ignore:
Timestamp:
12/04/12 12:37:08 (12 years ago)
Author:
jorisborgdorff
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Configuration

    v14 v15  
    7171||{{{dechunk}}}             ||{{{DechunkFilter}}}             ||{{{int chunks}}}                ||{{{byte[]}}}                ||Combines a byte array that was split up by the chunk filter.|| 
    7272||{{{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.|| 
    7374||{{{multiply}}}            ||{{{MultiplyFilterDouble}}}            ||{{{double factor}}} ||{{{double[]}}}      ||Multiplies each value of the incoming message by {{{factor}}}|| 
    7475||{{{drop}}}                ||{{{DropFilter}}}                      ||{{{int step}}}      ||any                 ||Drops messages that are not a multiple of {{{step}}}|| 
     
    7677||{{{timefactor}}}          ||{{{TimeFactorFilter}}}                ||{{{double factor}}} ||any                 ||Multiplies the sent timestamp of messages|| 
    7778||{{{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.|| 
    7979 
    8080For convenience, the MUSCLE filters may be referred to by their name instead of their class: 
     
    8585}}} 
    8686 
    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 take 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. 
     87By 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. 
    8888The following fragment multiplies the data with a constant on the sending side, and prints it on the receiving side: 
    8989{{{ 
     
    100100}}} 
    101101 
    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 the compressing is done in a separate thread from sending: 
     102For 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: 
    103103{{{ 
    104104cs.attach('w' => 'r') {