public function run(Experiment $experiment)
    {
        $control = $this->runControl($experiment);
        $trials  = $this->runTrials($experiment);

        $this->determineMatches($experiment->getMatcher(), $control, $trials);

        return new Report($experiment->getName(), $control, $trials);
    }
public function run(Experiment $experiment)
    {
        $control = $this->runControl($experiment);
        $trials  = $this->runTrials($experiment);

        $this->determineMatches($experiment->getMatcher(), $control, $trials);

        return new Report($experiment->getName(), $control, $trials);
    }
public function run ( Experiment $ experiment ) { $ control = $ this -> runControl ( $ experiment ) ; $ trials = $ this -> runTrials ( $ experiment ) ; $ this -> determineMatches ( $ experiment -> getMatcher ( ) , $ control , $ trials ) ; return new Report ( $ experiment -> getName ( ) , $ control , $ trials ) ; }
Run an experiment, and retrieve the result.

@param \Scientist\Experiment $experiment

@return \Scientist\Report
Run an experiment and retrieve the result .