public function getComparisons()
    {
        $comparisons = array();

        foreach ($this->set->group->compareWith as $name) {
            $benchmark = $this->set->benchmarks[$name];
            $comparisons[$name] = new Comparison(
                $this->getAverage(), $benchmark->getAverage()
            );
        }

        return $comparisons;
    }
public function getComparisons()
    {
        $comparisons = array();

        foreach ($this->set->group->compareWith as $name) {
            $benchmark = $this->set->benchmarks[$name];
            $comparisons[$name] = new Comparison(
                $this->getAverage(), $benchmark->getAverage()
            );
        }

        return $comparisons;
    }
public function getComparisons ( ) { $ comparisons = array ( ) ; foreach ( $ this -> set -> group -> compareWith as $ name ) { $ benchmark = $ this -> set -> benchmarks [ $ name ] ; $ comparisons [ $ name ] = new Comparison ( $ this -> getAverage ( ) , $ benchmark -> getAverage ( ) ) ; } return $ comparisons ; }
Get an array of comparisons with
@return Comparison[]
Get an array of comparisons with