Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic e1b #48

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Topic e1b #48

wants to merge 20 commits into from

Conversation

jam84
Copy link
Contributor

@jam84 jam84 commented May 12, 2014

There are seven files that makeup part B of the exam:

E1bOutput.php - this contains the output of the random problem and it should be viewed on the web. If you want to change the values refresh the page and to change the size of the problem change the number of departments and suppliers in E1bRandom.php

E1bRandom.php - this is the first random problem (it will not show an output in eclipse unless you uncomment the bottom print statement) and it is used in E1bOutput.

E1bRefactorRandom.php - this refactors the random problem into a single function

E1bRefactorRandomRun.php - this is where you can run the refactored random problem. Put the values of suppliers and departments in the value and obtain the output.

E1bRefactorStatic.php - this will refactor the static problem, so the user can input all of the data into the problem.

E1bRefactorStaticRun.php - this uses the function from E1bRefactorStatic.php and uses example data to set the problem and show results

E1bStatic.php - this is the static problem from (a) and returns the optimal solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants