Our aim is to demonstrate a method of determining the extent to which behavior maximizes fitness. We believe the temporal organization of behavior to be in part dependent on the animal's genetic makeup and subject to natural selection and that behavioral strategies may be as adaptive as structural characters. The question of the adaptiveness of behavior has been found hard to study in the past (Tinbergen 1963) because of the difficulty of quantitative verification of hypotheses. The method presented here tests specifically whether deployment of behavioral options is optimally related to environmental conditions.