Created
August 8, 2017 22:05
-
-
Save r34117y/cd1d8036b3a06460b3e7b043c3706a52 to your computer and use it in GitHub Desktop.
Two egg problem.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Example of Minimization of Maximum Regret | |
* | |
*/ | |
class EggProblem { | |
public function __construnct(int $OfFloors = 100, int $nOfEggs = 2) | |
{ | |
this->nOfFloors = $nOfFloors; | |
this->nOfEggs = $nOfEggs | |
} | |
public function computeSolution() : int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment