Ejemplo n.º 1
0
 /**
  * Constructor function
  * 
  * @param Gamma $gamma the gamma calculator
  * @param GeneratorInterface $gen instance of generator
  * @param BasicStats $stats instance of the basic stats calculator
  */
 public function __construct(Gamma $gamma, GeneratorInterface $gen, BasicStats $stats)
 {
     $this->gamma = $gamma;
     parent::__construct($gen, $stats);
 }
Ejemplo n.º 2
0
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  *  @param ChiSquare instance of ChiSquare Calculator
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, ChiSquare $chi)
 {
     $this->chi = $chi;
     parent::__construct($gen, $stats);
 }
Ejemplo n.º 3
0
 /**
  * Constructor function
  * 
  * @param GeneratorInterfac $$gen instance of the generator
  * @param BasicStats $stats instance of stats
  * @param Normal $normal instance of the normal Calculator
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Normal $normal)
 {
     $this->normal = $normal;
     parent::__construct($gen, $stats);
 }
Ejemplo n.º 4
0
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Exponential $exp)
 {
     $this->exp = $exp;
     parent::__construct($gen, $stats);
 }
Ejemplo n.º 5
0
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  *  @param Weibull $wei
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Weibull $wei)
 {
     $this->wei = $wei;
     parent::__construct($gen, $stats);
 }