/** * Constructor. */ public function __construct() { parent::__construct(); }
/** * Constructs an AbstractGraph with the specified size. * * @param integer $size The maximum number of vertices. */ public function __construct($size) { parent::__construct(); $this->numberOfVertices = 0; $this->numberOfEdges = 0; $this->vertex = new BasicArray($size); }
/** * Constructor. */ public function __construct() { parent::__construct(new ParameterBag($this->getDefaultParameters())); }
/** * Constructor. */ public function __construct() { $this->parameters = array(); parent::__construct(new ParameterBag($this->parameters)); }
/** * Constructor. */ public function __construct() { parent::__construct(new ParameterBag(self::$parameters)); }