24.10.2014 Views

Dissertation - HQ

Dissertation - HQ

Dissertation - HQ

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

130 Oceanography vs. behaviour<br />

Transition matrices<br />

are sparse<br />

One solution in Scilab is to use linked C routines for the filling<br />

of matrices, and to store them as sparse matrices. Sparse matrices take<br />

advantage of the fact that transition matrices contain mostly zeros (only<br />

two final states are reachable from any initial state) and store only<br />

the positions and values of non-zero probabilities. The progress in<br />

computation time is impressive: from a whole day to two seconds for a<br />

20 × 20 × 2 × 6 state space. This is the solution used here.<br />

Another solution, however, is to forget about the matrix aspect of<br />

the calculation altogether, bluntly loop over all states, for each one<br />

compute all possible outcomes for all decisions, and compute and store<br />

the maximum mean gain and the associated optimal decision before<br />

moving on to the next state. While very inefficient in an interpreted<br />

language such as Scilab, which is slow at loops and only fast at vectorised<br />

operations, this can be a viable solution in a compiled language where<br />

vectorisation and parallelisation of loops are efficient (such as C or<br />

Fortran). When the state and number of decisions grow too much, it<br />

can become the only solution.<br />

6.3.3 Comparison between contrasting biological parameters<br />

Reproductive Reef fish larvae present very different behavioural characteristics destrategies<br />

in fishes pending, in part, on the species’ reproductive strategy 256 .<br />

1. Eggs can be directly dispersed in the water, thus advected as<br />

passive particles; then larvae hatch in the ocean. The eggs are<br />

usually small and numerous which mean larvae are small and<br />

little developed at hatching.<br />

2. Eggs can be demersal (i.e. laid on the substrate, within the reef).<br />

Parents care for the eggs until they hatch. Then larvae disperse<br />

into the ocean but are usually larger and have greater swimming<br />

and sensory abilities than larvae hatching from pelagic eggs.<br />

3. The larval phase is completed entirely inside a lagoon (rare).<br />

Compare Acanthuridae<br />

and Pomacentridae<br />

which differ in . . .<br />

. . . their pelagic<br />

duration . . .<br />

To investigate how these contrasting behavioural abilities affect dispersal<br />

patterns, two theoretical larvae with different early life histories<br />

are compared, namely an Acanthuridae with pelagic eggs and a Pomacentridae<br />

with demersal eggs. The families first differ in the duration<br />

of their larval stage: around 50 days for Acanthuridae 257 and from 14<br />

to 35 days among Pomacentridae 246 . Pelagic larval periods of 50 and<br />

20 days are chosen as examples. Acanthuridae disperse eggs that are<br />

completely passive. After approximately 24 h, larvae hatch and develop<br />

four days before the first food intake. Afterward, their swimming abilities<br />

improve substantially, and late-stage Acanthuridae larvae have<br />

been shown to be very good swimmers 236 . By contrast, Pomacentridae<br />

species whose eggs are demersal disperse larvae that are active right<br />

from the start of the pelagic period. Their swimming abilities improve<br />

brutally around the middle of the pelagic phase 60 but stay below those

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!