$a = array(1, 1, 1, 3, 3, 3, 5, 5, 5, 7, 7, 7, 9, 9, 9, 11,
11, 11);
$b = array(1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 5, 5, 5, 7,
7, 7);
for($i = 0; $i < count($a); $i++) {
$win->enqueue(new React\EEP\Event\Muxed($a[$i], 0));
$win->enqueue(new React\EEP\Event\Muxed($b[$i], 1));
}
leader.php (2)
$ php examples/leader.php
Stream 1 leads stream 0 by 9 ticks with a -6.68 correlation
Stream 0 leads stream 1 by 3 ticks with a 8.82 correlation
Stream 0 leads stream 1 by 3 ticks with a 7.21 correlation
Stream 0 leads stream 1 by 3 ticks with a 5.84 correlation
Stream 0 leads stream 1 by 3 ticks with a 4.57 correlation
Stream 0 leads stream 1 by 3 ticks with a 4.28 correlation
Stream 0 leads stream 1 by 3 ticks with a 3.75 correlation
Stream 0 leads stream 1 by 3 ticks with a 4.32 correlation